summaryrefslogtreecommitdiff
path: root/archaeological_finds
diff options
context:
space:
mode:
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
commita31a0507f5f8321dd8ced1eb25e4024a39a8fd90 (patch)
tree8432b4898456653e0b8a729188c21ad2da2d1776 /archaeological_finds
parent8f5e6d05d1bca7a02924b419ba70198e7d325af3 (diff)
downloadIshtar-a31a0507f5f8321dd8ced1eb25e4024a39a8fd90.tar.bz2
Ishtar-a31a0507f5f8321dd8ced1eb25e4024a39a8fd90.zip
Work on find importer
Diffstat (limited to 'archaeological_finds')
-rw-r--r--archaeological_finds/models.py2
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,