From ee6a1eb3588da3c6c1c3f0e75691541cea2d37ab Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Mon, 22 Dec 2014 12:55:56 +0100 Subject: Workon alternate administrativ wizard * reorganization of address fields * add a main town field * reorganize parcel wizard * workon new administrativ wizard --- archaeological_files_pdl/wizards.py | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 archaeological_files_pdl/wizards.py (limited to 'archaeological_files_pdl/wizards.py') diff --git a/archaeological_files_pdl/wizards.py b/archaeological_files_pdl/wizards.py new file mode 100644 index 000000000..679b0823f --- /dev/null +++ b/archaeological_files_pdl/wizards.py @@ -0,0 +1,27 @@ +#!/usr/bin/env python +# -*- coding: utf-8 -*- +# Copyright (C) 2014 Étienne Loks + +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as +# published by the Free Software Foundation, either version 3 of the +# License, or (at your option) any later version. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. + +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . + +# See the file COPYING for details. + +from archaeological_files.wizards import FileWizard as BaseFileWizard + +class FileWizard(BaseFileWizard): + parcel_step_key = 'parcelspdl-' + town_step_key = 'preventiveplanning-' + town_input_id = 'main_town' + multi_towns = False + -- cgit v1.2.3