summaryrefslogtreecommitdiff
path: root/ishtar_common/models.py
diff options
context:
space:
mode:
Diffstat (limited to 'ishtar_common/models.py')
-rw-r--r--ishtar_common/models.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/ishtar_common/models.py b/ishtar_common/models.py
index ae0656c6d..6a793e326 100644
--- a/ishtar_common/models.py
+++ b/ishtar_common/models.py
@@ -2480,6 +2480,10 @@ class Area(HierarchicalType, DocumentItem, MainItem):
return self.label
return "{} ({})".format(self.label, self.reference)
+ def can_edit(self, request):
+ print("TODO: define specific permissions for areas")
+ return False
+
@classmethod
def get_or_create_by_towns(cls, towns, get_geo=False):
if hasattr(towns, "all"): # queryset