Update version, add migrations to release, add __str__ to attempts
[tickle] / tickle / models.py
index 6dc17ca..b588799 100644 (file)
@@ -197,6 +197,12 @@ class Attempt(models.Model):
 
         ordering = ('date',)
 
+    def __str__(self):
+        return '{} on {}'.format(
+            self.route,
+            self.date,
+        )
+
 STYLE_CHOICES = (
     ('onsight', 'On Sight'),
     ('flash', 'Flash'),