summaryrefslogtreecommitdiff
path: root/archaeological_context_records/forms.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2017-06-14 00:13:06 +0200
committerÉtienne Loks <etienne.loks@iggdrasil.net>2017-06-14 00:13:06 +0200
commitee8ac4b2737d009d858360395b32b8277d4c6c3b (patch)
tree7c63d3f2e21b29c79d4c2dc6bedf91f8a64618b4 /archaeological_context_records/forms.py
parent9f7e16bc051d7ae8967520c6a4ccaed00ae9cb4c (diff)
parent9fe30e305e1a114277e8473df415588bfacd188d (diff)
downloadIshtar-ee8ac4b2737d009d858360395b32b8277d4c6c3b.tar.bz2
Ishtar-ee8ac4b2737d009d858360395b32b8277d4c6c3b.zip
Merge branch 'v0.9' into wheezy
Diffstat (limited to 'archaeological_context_records/forms.py')
-rw-r--r--archaeological_context_records/forms.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/archaeological_context_records/forms.py b/archaeological_context_records/forms.py
index 91effb397..77b42b609 100644
--- a/archaeological_context_records/forms.py
+++ b/archaeological_context_records/forms.py
@@ -59,7 +59,8 @@ class RecordSelect(TableSelect):
label = forms.CharField(label=_(u"ID"), max_length=100)
parcel__town = get_town_field()
if settings.COUNTRY == 'fr':
- operation__code_patriarche = forms.IntegerField(
+ operation__code_patriarche = forms.CharField(
+ max_length=500,
widget=OAWidget,
label=_(u"Code PATRIARCHE"))
operation__year = forms.IntegerField(label=_(u"Operation's year"))
@@ -366,7 +367,8 @@ class RecordSourceSelect(SourceSelect):
context_record__operation__operation_code = forms.IntegerField(
label=_(u"Numeric reference"))
if settings.COUNTRY == 'fr':
- context_record__operation__code_patriarche = forms.IntegerField(
+ context_record__operation__code_patriarche = forms.CharField(
+ max_length=500,
widget=OAWidget,
label="Code PATRIARCHE")
context_record__parcel__town = get_town_field(