summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rw-r--r--core/models/caves.py2
-rw-r--r--core/views/logbooks.py1
2 files changed, 2 insertions, 1 deletions
diff --git a/core/models/caves.py b/core/models/caves.py
index 972d766..a08b1f8 100644
--- a/core/models/caves.py
+++ b/core/models/caves.py
@@ -585,7 +585,7 @@ class QM(TroggleModel):
class PersonTrip(TroggleModel):
"""Single Person going on a trip, which may or may not be written up.
- It accounts for different T/U for people in same logbook entry.
+ It could account for different T/U for people in same logbook entry.
"""
personexpedition = models.ForeignKey("PersonExpedition",null=True,on_delete=models.CASCADE)
time_underground = models.FloatField(help_text="In decimal hours")
diff --git a/core/views/logbooks.py b/core/views/logbooks.py
index 33d0c0e..7d58c75 100644
--- a/core/views/logbooks.py
+++ b/core/views/logbooks.py
@@ -215,6 +215,7 @@ def logbookentry(request, date, slug):
this_logbookentry=this_logbookentry[0]
# This is the only page that uses presontrip_next and persontrip_prev
+ # and it is calculated on the fly in the model
return render(request, 'logbookentry.html',
{'logbookentry': this_logbookentry, 'trips': trips, 'svxothers': svxothers, 'wallets': wallets})
else: