diff options
author | Philip Sargent <philip.sargent@klebos.com> | 2022-09-20 01:02:06 +0300 |
---|---|---|
committer | Philip Sargent <philip.sargent@klebos.com> | 2022-09-20 01:02:06 +0300 |
commit | 61f9863a068a0e2d128a100088cf42c0c61c97ab (patch) | |
tree | 567baea54e0f3f4ef0f54842588fbdf558a2dc4f /core/models/survex.py | |
parent | 47878d264b05aaed621be6dfa52887fa4fe76cb4 (diff) | |
download | troggle-61f9863a068a0e2d128a100088cf42c0c61c97ab.tar.gz troggle-61f9863a068a0e2d128a100088cf42c0c61c97ab.tar.bz2 troggle-61f9863a068a0e2d128a100088cf42c0c61c97ab.zip |
bug fixes and coping with a list of cave ids in JSON
Diffstat (limited to 'core/models/survex.py')
-rw-r--r-- | core/models/survex.py | 2 |
1 files changed, 1 insertions, 1 deletions
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, |