diff options
author | Étienne Loks <etienne.loks@peacefrogs.net> | 2013-04-04 19:37:01 +0200 |
---|---|---|
committer | Étienne Loks <etienne.loks@peacefrogs.net> | 2013-04-04 19:41:08 +0200 |
commit | 93de2ae2223f284431000c66ba7d94f6f73eb658 (patch) | |
tree | 73046d16baf735296aea846602c3732bd9bcc613 /archaeological_operations/forms.py | |
parent | d9c32354f6d49de047f8009a3296e61f3b8ff316 (diff) | |
download | Ishtar-93de2ae2223f284431000c66ba7d94f6f73eb658.tar.bz2 Ishtar-93de2ae2223f284431000c66ba7d94f6f73eb658.zip |
Operation: search by period (refs #1017)
Diffstat (limited to 'archaeological_operations/forms.py')
-rw-r--r-- | archaeological_operations/forms.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/archaeological_operations/forms.py b/archaeological_operations/forms.py index 66bd05b4b..0318d4207 100644 --- a/archaeological_operations/forms.py +++ b/archaeological_operations/forms.py @@ -122,6 +122,8 @@ class OperationSelect(TableSelect): associated_model=Person, new=True), label=_(u"In charge")) remains = forms.ChoiceField(label=_(u"Remains"), choices=models.RemainType.get_types()) + periods = forms.ChoiceField(label=_(u"Periods"), + choices=models.Period.get_types()) year = forms.IntegerField(label=_("Year")) start_before = forms.DateField(label=_(u"Started before"), widget=widgets.JQueryDate) |