From bec262bb2d65af528df5cc5ba349d6424ceb98aa Mon Sep 17 00:00:00 2001 From: Philip Sargent Date: Fri, 7 Oct 2022 23:47:45 +0300 Subject: [PATCH] comments --- core/models/survex.py | 4 ++-- 1 file 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):