diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2017-03-21 23:53:23 +0100 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2017-03-21 23:53:23 +0100 |
commit | 9eacb3f2b2f5819ef3eea1a54bb2c4bfb13efda6 (patch) | |
tree | 2a2b687acef6f878c05f7148a150c10c3a7fb71a /archaeological_operations/forms.py | |
parent | 8eb09a666e7048ce8e531649566418670d94036d (diff) | |
parent | c00bb6298a602f74c55cfd60b8601295470a8e3b (diff) | |
download | Ishtar-9eacb3f2b2f5819ef3eea1a54bb2c4bfb13efda6.tar.bz2 Ishtar-9eacb3f2b2f5819ef3eea1a54bb2c4bfb13efda6.zip |
Merge branch 'master' into v0.9
Conflicts:
Makefile.example
archaeological_operations/migrations/0061_regenerate_cached_label.py
archaeological_warehouse/migrations/0024_generate_cache_lbl_for_containers.py
Diffstat (limited to 'archaeological_operations/forms.py')
-rw-r--r-- | archaeological_operations/forms.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/archaeological_operations/forms.py b/archaeological_operations/forms.py index f9f1095be..27ab4670a 100644 --- a/archaeological_operations/forms.py +++ b/archaeological_operations/forms.py @@ -465,6 +465,8 @@ class OperationSelect(TableSelect): label=_(u"Department"), choices=[]) common_name = forms.CharField(label=_(u"Name"), max_length=30) + address = forms.CharField(label=_(u"Address / Locality"), + max_length=100) operation_type = forms.ChoiceField(label=_(u"Operation type"), choices=[]) end_date = forms.NullBooleanField(label=_(u"Is open?")) @@ -746,7 +748,9 @@ class OperationFormGeneral(ManageOldType, forms.Form): widget=OAWidget, required=False) common_name = forms.CharField(label=_(u"Generic name"), required=False, - max_length=120, widget=forms.Textarea) + max_length=500, widget=forms.Textarea) + address = forms.CharField(label=_(u"Address / Locality"), required=False, + max_length=500, widget=forms.Textarea) operation_type = forms.ChoiceField(label=_(u"Operation type"), choices=[]) year = forms.IntegerField(label=_(u"Year"), |