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 | cd3489ca2d6bf7784968bae952fd2802c207df83 (patch) | |
| tree | 0b442585622595a570637bc6d49f0a99779fbefd /archaeological_finds/models.py | |
| parent | 0770751556cfc54b049e4938d3d46d811dce49a7 (diff) | |
| download | Ishtar-cd3489ca2d6bf7784968bae952fd2802c207df83.tar.bz2 Ishtar-cd3489ca2d6bf7784968bae952fd2802c207df83.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') |
