diff options
Diffstat (limited to 'archaeological_warehouse/models.py')
| -rw-r--r-- | archaeological_warehouse/models.py | 11 | 
1 files changed, 5 insertions, 6 deletions
| diff --git a/archaeological_warehouse/models.py b/archaeological_warehouse/models.py index 68f5181b7..33646ef9b 100644 --- a/archaeological_warehouse/models.py +++ b/archaeological_warehouse/models.py @@ -297,15 +297,14 @@ class Container(LightHistorizedItem, ImageModel):          related_name='owned_containers')      container_type = models.ForeignKey(ContainerType,                                         verbose_name=_("Container type")) -    reference = models.CharField(_(u"Container ref."), max_length=200) +    reference = models.TextField(_(u"Container ref."))      comment = models.TextField(_(u"Comment"), null=True, blank=True) -    cached_label = models.CharField(_(u"Localisation"), max_length=500, -                                    null=True, blank=True, db_index=True) -    cached_location = models.CharField(_(u"Cached location"), max_length=500, +    cached_label = models.TextField(_(u"Localisation"), null=True, blank=True, +                                    db_index=True) +    cached_location = models.TextField(_(u"Cached location"),                                         null=True, blank=True, db_index=True)      index = models.IntegerField(u"Container ID", default=0) -    old_reference = models.CharField(_(u"Old reference"), max_length=200, -                                     blank=True, null=True) +    old_reference = models.TextField(_(u"Old reference"), blank=True, null=True)      external_id = models.TextField(_(u"External ID"), blank=True, null=True)      auto_external_id = models.BooleanField(          _(u"External ID is set automatically"), default=False) | 
