summaryrefslogtreecommitdiffstats
path: root/core/models/caves.py
diff options
context:
space:
mode:
authorPhilip Sargent <philip.sargent@gmail.com>2024-07-15 12:41:58 +0200
committerPhilip Sargent <philip.sargent@gmail.com>2024-07-15 12:41:58 +0200
commit2cb665e141e617abe96dec5d038e6a355fbe01a9 (patch)
tree0679ddaa34ac56fd17e5052b5f593c12f35509f1 /core/models/caves.py
parent11756fa0bb4d59185be3b6457782e7ff165baa78 (diff)
downloadtroggle-2cb665e141e617abe96dec5d038e6a355fbe01a9.tar.gz
troggle-2cb665e141e617abe96dec5d038e6a355fbe01a9.tar.bz2
troggle-2cb665e141e617abe96dec5d038e6a355fbe01a9.zip
to-do comments updated
Diffstat (limited to 'core/models/caves.py')
-rw-r--r--core/models/caves.py9
1 files changed, 0 insertions, 9 deletions
diff --git a/core/models/caves.py b/core/models/caves.py
index c03b169..0d16082 100644
--- a/core/models/caves.py
+++ b/core/models/caves.py
@@ -25,16 +25,7 @@ Gcave_count = None
"""
todo = """
-- Find out why we have separate objects CaveSlug and why
- these are not just a single field on the Model. This was Martin's idea,
- but we are using text aliases now so we only need one slug in the data model
-
-- Can we rewrite things to eliminate the CaveSlug and objects? Surely
- foreign keys work fine ?!
-
- Why do we have CaveAndEntrance objects ? These do not need to be explcit for a many:many relationship these days
-
-- move the aliases list from the code and put into an editable file
- Restore constraint: unique_together = (("area", "kataster_number"), ("area", "unofficial_number"))
or replace by a unique 'slug' field, better.