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.py9
1 files changed, 6 insertions, 3 deletions
diff --git a/archaeological_finds/models_finds.py b/archaeological_finds/models_finds.py
index bc1d64ee6..ce9a5e4af 100644
--- a/archaeological_finds/models_finds.py
+++ b/archaeological_finds/models_finds.py
@@ -55,7 +55,6 @@ from ishtar_common.models import (
ValueGetter,
get_current_profile,
IshtarSiteProfile,
- GeoItem,
BulkUpdatedItem,
QuickAction,
MainItem,
@@ -76,7 +75,8 @@ from archaeological_operations.models import (
Operation,
CulturalAttributionType,
)
-from archaeological_context_records.models import ContextRecord, Dating
+from archaeological_context_records.models import ContextRecord, Dating, \
+ GeographicSubTownItem
from archaeological_warehouse.models import Warehouse
@@ -386,7 +386,7 @@ class BFBulkView(object):
class BaseFind(
BulkUpdatedItem,
BaseHistorizedItem,
- GeoItem,
+ GeographicSubTownItem,
CompleteIdentifierItem,
OwnPerms,
ValueGetter,
@@ -486,6 +486,9 @@ class BaseFind(
def __str__(self):
return self.label
+ def _get_geo_town(self):
+ return self.context_record._get_geo_town()
+
def natural_key(self):
return (self.uuid,)