summaryrefslogtreecommitdiff
path: root/archaeological_finds/models_finds.py
diff options
context:
space:
mode:
Diffstat (limited to 'archaeological_finds/models_finds.py')
-rw-r--r--archaeological_finds/models_finds.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/archaeological_finds/models_finds.py b/archaeological_finds/models_finds.py
index 7d9b4bd8a..382b793ef 100644
--- a/archaeological_finds/models_finds.py
+++ b/archaeological_finds/models_finds.py
@@ -207,7 +207,7 @@ class BFBulkView(object):
class BaseFind(BulkUpdatedItem, BaseHistorizedItem, OwnPerms):
EXTERNAL_ID_KEY = 'base_find_external_id'
EXTERNAL_ID_DEPENDENCIES = ['find']
- label = models.TextField(_(u"Free ID"))
+ label = models.TextField(_(u"Label"))
external_id = models.TextField(_(u"External ID"), blank=True, null=True)
auto_external_id = models.BooleanField(
_(u"External ID is set automatically"), default=False)
@@ -556,7 +556,7 @@ class Find(BulkUpdatedItem, ValueGetter, BaseHistorizedItem, ImageModel,
CHECK_DICT = dict(CHECK_CHOICES)
SHOW_URL = 'show-find'
SLUG = 'find'
- TABLE_COLS = ['label', 'base_finds__context_record__parcel__town__name',
+ TABLE_COLS = ['external_id', 'label', 'base_finds__context_record__parcel__town__name',
'base_finds__context_record__operation__common_name',
'base_finds__context_record__parcel',
'base_finds__context_record__label',
@@ -678,7 +678,7 @@ class Find(BulkUpdatedItem, ValueGetter, BaseHistorizedItem, ImageModel,
auto_external_id = models.BooleanField(
_(u"External ID is set automatically"), default=False)
order = models.IntegerField(_(u"Order"), default=1)
- label = models.TextField(_(u"Free ID"))
+ label = models.TextField(_(u"Label"))
description = models.TextField(_(u"Description"), blank=True, null=True)
material_types = models.ManyToManyField(
MaterialType, verbose_name=_(u"Material types"), related_name='finds',