2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2025-12-14 00:27:07 +00:00

bug fixes and coping with a list of cave ids in JSON

This commit is contained in:
Philip Sargent
2022-09-20 01:02:06 +03:00
parent 47878d264b
commit 61f9863a06
4 changed files with 24 additions and 11 deletions

View File

@@ -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,