diff options
| author | Étienne Loks <etienne.loks@iggdrasil.net> | 2018-11-14 18:02:04 +0100 | 
|---|---|---|
| committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2018-11-28 11:40:16 +0100 | 
| commit | 87b2c52f3d32d32187cf318a39078acf58041ab8 (patch) | |
| tree | 57dd96f25a1e518dc04ac1d73fd4ebd4d52526cd /archaeological_warehouse/forms.py | |
| parent | 10abb4228c72b9c01e5344f38047be149a734251 (diff) | |
| download | Ishtar-87b2c52f3d32d32187cf318a39078acf58041ab8.tar.bz2 Ishtar-87b2c52f3d32d32187cf318a39078acf58041ab8.zip  | |
Reorganize treatment actions - add a direct to treatements
Diffstat (limited to 'archaeological_warehouse/forms.py')
| -rw-r--r-- | archaeological_warehouse/forms.py | 5 | 
1 files changed, 4 insertions, 1 deletions
diff --git a/archaeological_warehouse/forms.py b/archaeological_warehouse/forms.py index 954c01918..2dc963ca0 100644 --- a/archaeological_warehouse/forms.py +++ b/archaeological_warehouse/forms.py @@ -18,6 +18,7 @@  # See the file COPYING for details.  from collections import OrderedDict +import datetime  from django import forms  from django.conf import settings @@ -294,7 +295,9 @@ class BasePackagingForm(SelectFindBasketForm):              associated_model=Person, new=True),          validators=[valid_id(Person)])      start_date = forms.DateField( -        label=_(u"Date"), required=False, widget=DatePicker) +        label=_(u"Date"), required=False, widget=DatePicker, +        initial=datetime.date.today +    )  class FindPackagingFormSelection(FindMultipleFormSelection):  | 
