diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2018-11-12 18:43:16 +0100 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2018-11-12 18:43:16 +0100 |
commit | 1e0ca1529f9d03acfbc26a0573c59e9ab6a327f1 (patch) | |
tree | 5cb6a189f1e6ac8ec9f37dd8c473ccffe24c1997 /archaeological_warehouse/models.py | |
parent | adecc5c8c38daac40f121371665a13555de7d333 (diff) | |
download | Ishtar-1e0ca1529f9d03acfbc26a0573c59e9ab6a327f1.tar.bz2 Ishtar-1e0ca1529f9d03acfbc26a0573c59e9ab6a327f1.zip |
Ref is not mandatory for container type
Diffstat (limited to 'archaeological_warehouse/models.py')
-rw-r--r-- | archaeological_warehouse/models.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/archaeological_warehouse/models.py b/archaeological_warehouse/models.py index a40bfd321..5565bc504 100644 --- a/archaeological_warehouse/models.py +++ b/archaeological_warehouse/models.py @@ -298,7 +298,8 @@ class ContainerType(GeneralType): width = models.IntegerField(_(u"Width (mm)"), blank=True, null=True) height = models.IntegerField(_(u"Height (mm)"), blank=True, null=True) volume = models.FloatField(_(u"Volume (l)"), blank=True, null=True) - reference = models.CharField(_(u"Ref."), max_length=30) + reference = models.CharField(_(u"Ref."), max_length=300, blank=True, + null=True) class Meta: verbose_name = _(u"Container type") |