summaryrefslogtreecommitdiff
path: root/app/locations/models.py
diff options
context:
space:
mode:
Diffstat (limited to 'app/locations/models.py')
-rw-r--r--app/locations/models.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/app/locations/models.py b/app/locations/models.py
index bab2c15..e0409eb 100644
--- a/app/locations/models.py
+++ b/app/locations/models.py
@@ -488,6 +488,9 @@ class Walk(models.Model):
def __str_(self):
return self.title
+ class Meta:
+ ordering = ('-date_walked',)
+
def get_rating(self):
return int(self.rating)