diff options
| author | Étienne Loks <etienne.loks@proxience.com> | 2015-06-11 02:20:23 +0200 |
|---|---|---|
| committer | Étienne Loks <etienne.loks@proxience.com> | 2015-06-11 02:20:23 +0200 |
| commit | 43d89af9d96fc98191247e7d565c8504d6c411cd (patch) | |
| tree | 8432b4898456653e0b8a729188c21ad2da2d1776 /archaeological_finds/models.py | |
| parent | 0703ce30b58d8e8273543e5ddd353759e5892e06 (diff) | |
| download | Ishtar-43d89af9d96fc98191247e7d565c8504d6c411cd.tar.bz2 Ishtar-43d89af9d96fc98191247e7d565c8504d6c411cd.zip | |
Work on find importer
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, |
