diff options
author | Étienne Loks <etienne.loks@proxience.com> | 2015-11-27 13:20:06 +0100 |
---|---|---|
committer | Étienne Loks <etienne.loks@proxience.com> | 2015-11-27 13:20:06 +0100 |
commit | 6b5c143bd734a000a9f92bcef729657cf424b88d (patch) | |
tree | 0b442585622595a570637bc6d49f0a99779fbefd /archaeological_finds/models.py | |
parent | fe1bb8dbe6d02d2379f89d410b3533a6d84209b2 (diff) | |
download | Ishtar-6b5c143bd734a000a9f92bcef729657cf424b88d.tar.bz2 Ishtar-6b5c143bd734a000a9f92bcef729657cf424b88d.zip |
Finds - label: 60 -> text
Diffstat (limited to 'archaeological_finds/models.py')
-rw-r--r-- | archaeological_finds/models.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/archaeological_finds/models.py b/archaeological_finds/models.py index 3e623e5ac..0ef1dab58 100644 --- a/archaeological_finds/models.py +++ b/archaeological_finds/models.py @@ -105,7 +105,7 @@ IS_ISOLATED_CHOICES = ( class BaseFind(BaseHistorizedItem, OwnPerms): IS_ISOLATED_DICT = dict(IS_ISOLATED_CHOICES) - label = models.CharField(_(u"Free-ID"), max_length=60) + label = models.TextField(_(u"Free-ID")) external_id = models.CharField(_(u"External ID"), blank=True, null=True, max_length=120) description = models.TextField(_(u"Description"), blank=True, null=True) @@ -283,7 +283,7 @@ class Find(BaseHistorizedItem, ImageModel, OwnPerms, ShortMenuItem): external_id = models.CharField(_(u"External ID"), blank=True, null=True, max_length=120) order = models.IntegerField(_(u"Order"), default=1) - label = models.CharField(_(u"Free-ID"), max_length=60) + label = models.TextField(_(u"Free-ID")) description = models.TextField(_(u"Description"), blank=True, null=True) material_types = models.ManyToManyField( MaterialType, verbose_name=_(u"Material types"), related_name='finds') |