diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2018-06-05 12:59:06 +0200 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2018-06-12 08:54:04 +0200 |
commit | bd9e7d5d4f0eec90b0db39391e05919e4adb1342 (patch) | |
tree | ac5e2385672ca97f8123eacd219e390ec80a02ae /archaeological_context_records/forms.py | |
parent | 63e4f8cea38fdde5dbc1fe582b0307ad59370f81 (diff) | |
download | Ishtar-bd9e7d5d4f0eec90b0db39391e05919e4adb1342.tar.bz2 Ishtar-bd9e7d5d4f0eec90b0db39391e05919e4adb1342.zip |
Context record towns: change column and search to point directly (not through parcel)
Diffstat (limited to 'archaeological_context_records/forms.py')
-rw-r--r-- | archaeological_context_records/forms.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/archaeological_context_records/forms.py b/archaeological_context_records/forms.py index 17e557283..0d68d6aa3 100644 --- a/archaeological_context_records/forms.py +++ b/archaeological_context_records/forms.py @@ -63,7 +63,7 @@ class RecordSelect(TableSelect): search_vector = forms.CharField(label=_(u"Full text search"), widget=widgets.SearchWidget) label = forms.CharField(label=_(u"ID"), max_length=100) - parcel__town = get_town_field() + town = get_town_field() if settings.COUNTRY == 'fr': operation__code_patriarche = forms.CharField( max_length=500, @@ -406,8 +406,8 @@ class RecordSourceSelect(SourceSelect): max_length=500, widget=OAWidget, label="Code PATRIARCHE") - context_record__parcel__town = get_town_field( - label=_(u"Town of the operation")) + context_record__town = get_town_field( + label=_(u"Town")) context_record__datings__period = forms.ChoiceField( label=_(u"Period of the context record"), choices=[]) context_record__unit = forms.ChoiceField( |