summaryrefslogtreecommitdiff
path: root/archaeological_operations
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@proxience.com>2014-07-16 09:52:33 +0200
committerÉtienne Loks <etienne.loks@proxience.com>2014-07-16 09:52:33 +0200
commit7bd6ca9543ea9e3347f3bea5a360f91d203e4ffb (patch)
treef9ec770eeeb719d0ec95bb8f66156ab962314f1d /archaeological_operations
parentc2048c79636a182a7657ef35955b2d2f42044ed6 (diff)
downloadIshtar-7bd6ca9543ea9e3347f3bea5a360f91d203e4ffb.tar.bz2
Ishtar-7bd6ca9543ea9e3347f3bea5a360f91d203e4ffb.zip
Administrativ act form: signature date default to today (refs #1629)
Diffstat (limited to 'archaeological_operations')
-rw-r--r--archaeological_operations/forms.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/archaeological_operations/forms.py b/archaeological_operations/forms.py
index 0d01c7f0e..acc56bbef 100644
--- a/archaeological_operations/forms.py
+++ b/archaeological_operations/forms.py
@@ -706,7 +706,7 @@ class AdministrativeActOpeForm(forms.Form):
act_object = forms.CharField(label=_(u"Object"), max_length=200,
widget=forms.Textarea, required=False)
signature_date = forms.DateField(label=_(u"Signature date"),
- widget=widgets.JQueryDate)
+ initial=get_now, widget=widgets.JQueryDate)
if settings.COUNTRY == 'fr':
ref_sra = forms.CharField(label=u"Autre référence", max_length=15,
required=False)