projects
/
tickle
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Update version, add migrations to release, add __str__ to attempts
[tickle]
/
tickle
/
models.py
diff --git
a/tickle/models.py
b/tickle/models.py
index
6dc17ca
..
b588799
100644
(file)
--- a/
tickle/models.py
+++ b/
tickle/models.py
@@
-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'),