diff options
Diffstat (limited to 'core')
-rw-r--r-- | core/models/logbooks.py | 8 | ||||
-rw-r--r-- | core/views/survex.py | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/core/models/logbooks.py b/core/models/logbooks.py index fbe7e49..226f8e5 100644 --- a/core/models/logbooks.py +++ b/core/models/logbooks.py @@ -228,8 +228,8 @@ class QM(TroggleModel): ), ) - # def get_next_by_id(self): - # return QM.objects.get(id=self.id + 1) + def get_next_by_id(self): + return QM.objects.get(id=self.id + 1) - # def get_previous_by_id(self): - # return QM.objects.get(id=self.id - 1) + def get_previous_by_id(self): + return QM.objects.get(id=self.id - 1) diff --git a/core/views/survex.py b/core/views/survex.py index 714cf6d..45d63ea 100644 --- a/core/views/survex.py +++ b/core/views/survex.py @@ -105,7 +105,7 @@ survextemplatefile = """; *** THIS IS A TEMPLATE FILE NOT WHAT YOU MIGHT BE EXPE ; QM doesn't go anywhere, set the resolution-station to be the same as the ; nearest-station. Include any relevant details of how to find or push the QM in ; the textual description. -;Serial number grade(A/B/C/D/V/X) nearest-station resolution-station description +;Serial number grade(A/B/C/D/X) nearest-station resolution-station description ;[ QM1 A surveyname.3 - description of QM ] ;[ QM2 B surveyname.5 - description of QM ] |