diff options
author | Étienne Loks <etienne.loks@proxience.com> | 2015-06-11 02:52:49 +0200 |
---|---|---|
committer | Étienne Loks <etienne.loks@proxience.com> | 2015-06-11 02:52:49 +0200 |
commit | 34bc80f07d84ee72b60604742a323ef93b53f6bc (patch) | |
tree | dbc2532faadca60404735a99d8f9c58b61a16a25 /archaeological_finds/models.py | |
parent | c5cb5835b593a9423638e3666959489e35210605 (diff) | |
parent | b577e0473e1a9b7ce326236e8372ed3835434758 (diff) | |
download | Ishtar-34bc80f07d84ee72b60604742a323ef93b53f6bc.tar.bz2 Ishtar-34bc80f07d84ee72b60604742a323ef93b53f6bc.zip |
Merge branch 'stable'
Diffstat (limited to 'archaeological_finds/models.py')
-rw-r--r-- | archaeological_finds/models.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/archaeological_finds/models.py b/archaeological_finds/models.py index 1fb92f9d8..8aae745e6 100644 --- a/archaeological_finds/models.py +++ b/archaeological_finds/models.py @@ -195,7 +195,7 @@ class Find(BaseHistorizedItem, ImageModel, OwnPerms, ShortMenuItem): null=True) volume = models.FloatField(_(u"Volume (l)"), blank=True, null=True) weight = models.FloatField(_(u"Weight (g)"), blank=True, null=True) - weight_unit = models.CharField(_(u"Weight unit"), max_length=1, + weight_unit = models.CharField(_(u"Weight unit"), max_length=4, blank=True, null=True, choices=WEIGHT_UNIT) find_number = models.IntegerField(_("Find number"), blank=True, null=True) upstream_treatment = models.ForeignKey("Treatment", blank=True, null=True, |