diff options
author | root <root@viserion.(none)> | 2013-04-11 16:18:12 +0000 |
---|---|---|
committer | root <root@viserion.(none)> | 2013-04-11 16:18:12 +0000 |
commit | ee49f194c1659df01e0d26d634e13b13614b1683 (patch) | |
tree | 1bdc68eac5c81c5bfafe287a659266ee8ad33d69 /archaeological_files/forms.py | |
parent | 6235aa64139d746b4d5d8c5afdaecef8a40196e3 (diff) | |
parent | b8df763695252dd9c6ba7e98ca7b23991f77aea1 (diff) | |
download | Ishtar-ee49f194c1659df01e0d26d634e13b13614b1683.tar.bz2 Ishtar-ee49f194c1659df01e0d26d634e13b13614b1683.zip |
Merge branch 'master' of lysithea.proxience.net:/home/proxience/git/ishtar
Diffstat (limited to 'archaeological_files/forms.py')
-rw-r--r-- | archaeological_files/forms.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/archaeological_files/forms.py b/archaeological_files/forms.py index ea12c984c..67f00c8d8 100644 --- a/archaeological_files/forms.py +++ b/archaeological_files/forms.py @@ -1,6 +1,6 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- -# Copyright (C) 2010-2012 Étienne Loks <etienne.loks_AT_peacefrogsDOTnet> +# Copyright (C) 2010-2013 Étienne Loks <etienne.loks_AT_peacefrogsDOTnet> # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as @@ -99,6 +99,7 @@ class FileFormGeneral(forms.Form): internal_reference = forms.CharField(label=_(u"Internal reference"), max_length=60, validators=[is_unique(models.File, 'internal_reference')]) + name = forms.CharField(label=_(u"Name"), required=False) creation_date = forms.DateField(label=_(u"Creation date"), initial=get_now, widget=widgets.JQueryDate) file_type = forms.ChoiceField(label=_("File type"), |