From 61f9863a068a0e2d128a100088cf42c0c61c97ab Mon Sep 17 00:00:00 2001 From: Philip Sargent Date: Tue, 20 Sep 2022 01:02:06 +0300 Subject: bug fixes and coping with a list of cave ids in JSON --- core/models/survex.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/models/survex.py') diff --git a/core/models/survex.py b/core/models/survex.py index af948b8..f2ba667 100644 --- a/core/models/survex.py +++ b/core/models/survex.py @@ -161,7 +161,7 @@ class SurvexPersonRole(models.Model): expeditionday = models.ForeignKey("ExpeditionDay", null=True,on_delete=models.SET_NULL) def __str__(self): - return str(self.person) + " - " + str(self.survexblock) + return str(self.personname) + " - " + str(self.survexblock) class Wallet(models.Model): '''We do not keep the JSON values in the database, we query them afresh each time, -- cgit v1.2.3