summaryrefslogtreecommitdiff
path: root/archaeological_files_pdl/wizards.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@proxience.com>2014-12-22 12:55:56 +0100
committerÉtienne Loks <etienne.loks@proxience.com>2015-05-06 15:34:36 +0200
commitee6a1eb3588da3c6c1c3f0e75691541cea2d37ab (patch)
tree0d369c66f0fb06db3d99e55523623468db02d619 /archaeological_files_pdl/wizards.py
parent35b163e7626a0f556ad32b303c1b9fa94cdf1d3e (diff)
downloadIshtar-ee6a1eb3588da3c6c1c3f0e75691541cea2d37ab.tar.bz2
Ishtar-ee6a1eb3588da3c6c1c3f0e75691541cea2d37ab.zip
Workon alternate administrativ wizard
* reorganization of address fields * add a main town field * reorganize parcel wizard * workon new administrativ wizard
Diffstat (limited to 'archaeological_files_pdl/wizards.py')
-rw-r--r--archaeological_files_pdl/wizards.py27
1 files changed, 27 insertions, 0 deletions
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 <etienne.loks_AT_peacefrogsDOTnet>
+
+# 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 <http://www.gnu.org/licenses/>.
+
+# 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
+