summaryrefslogtreecommitdiffstats
path: root/core/models/survex.py
diff options
context:
space:
mode:
authorPhilip Sargent <philip.sargent@klebos.com>2022-10-07 23:47:45 +0300
committerPhilip Sargent <philip.sargent@klebos.com>2022-10-07 23:47:45 +0300
commitbec262bb2d65af528df5cc5ba349d6424ceb98aa (patch)
tree1fcdb6ec52a54ba1fb752ef3c8416ae69848283b /core/models/survex.py
parent74b314707603ac384d542d32ba810eb0e640b2f5 (diff)
downloadtroggle-bec262bb2d65af528df5cc5ba349d6424ceb98aa.tar.gz
troggle-bec262bb2d65af528df5cc5ba349d6424ceb98aa.tar.bz2
troggle-bec262bb2d65af528df5cc5ba349d6424ceb98aa.zip
comments
Diffstat (limited to 'core/models/survex.py')
-rw-r--r--core/models/survex.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/models/survex.py b/core/models/survex.py
index b7c0b9b..cc9b9f8 100644
--- a/core/models/survex.py
+++ b/core/models/survex.py
@@ -155,11 +155,11 @@ class SurvexBlock(models.Model):
class SurvexPersonRole(models.Model):
survexblock = models.ForeignKey('SurvexBlock',on_delete=models.CASCADE)
- # increasing levels of precision
+ # increasing levels of precision, Surely we only need survexblock and person now that we have no link to a logbook entry?
personname = models.CharField(max_length=100)
person = models.ForeignKey('Person', blank=True, null=True,on_delete=models.SET_NULL)
personexpedition = models.ForeignKey('PersonExpedition', blank=True, null=True,on_delete=models.SET_NULL)
- persontrip = models.ForeignKey('PersonTrip', blank=True, null=True,on_delete=models.SET_NULL)
+ persontrip = models.ForeignKey('PersonTrip', blank=True, null=True,on_delete=models.SET_NULL) # logbook
expeditionday = models.ForeignKey("ExpeditionDay", null=True,on_delete=models.SET_NULL)
def __str__(self):