summaryrefslogtreecommitdiffstats
path: root/core/models
diff options
context:
space:
mode:
authorPhilip Sargent <philip.sargent@gmail.com>2023-09-05 23:14:48 +0300
committerPhilip Sargent <philip.sargent@gmail.com>2023-09-05 23:14:48 +0300
commitcc9f425fb5fa82ac26db4f14c4c484fb7fd85cf6 (patch)
tree51d1b253563f2381a93230e0d980a867429bcfd4 /core/models
parent8c721e905ad1276b510ad266bd54eb0d8b489038 (diff)
downloadtroggle-cc9f425fb5fa82ac26db4f14c4c484fb7fd85cf6.tar.gz
troggle-cc9f425fb5fa82ac26db4f14c4c484fb7fd85cf6.tar.bz2
troggle-cc9f425fb5fa82ac26db4f14c4c484fb7fd85cf6.zip
Ongoing work to remove SurvexDirectory as a concept
Diffstat (limited to 'core/models')
-rw-r--r--core/models/survex.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/models/survex.py b/core/models/survex.py
index 7c0f38e..835d31d 100644
--- a/core/models/survex.py
+++ b/core/models/survex.py
@@ -17,7 +17,7 @@ class SurvexDirectory(models.Model):
all relate to the same Cave
"""
path = models.CharField(max_length=200)
- cave = models.ForeignKey("Cave", blank=True, null=True, on_delete=models.SET_NULL)
+ # cave = models.ForeignKey("Cave", blank=True, null=True, on_delete=models.SET_NULL) # apparently NEVER USED
primarysurvexfile = models.ForeignKey(
"SurvexFile", related_name="primarysurvexfile", blank=True, null=True, on_delete=models.SET_NULL
)