Update version, add migrations to release, add __str__ to attempts
authorDavid Kerkeslager <kerkeslager@gmail.com>
Sat, 27 Feb 2021 06:33:13 +0000 (01:33 -0500)
committerDavid Kerkeslager <kerkeslager@gmail.com>
Sat, 27 Feb 2021 06:33:13 +0000 (01:33 -0500)
MANIFEST.in
setup.py
tickle/models.py

index adb4883..b43f40a 100644 (file)
@@ -1,3 +1,4 @@
 include LICENSE
 include README.md
 recursive-include tickle/templates *.html
+include tickle/migrations/*.py
index f1ffd01..fd1b9a2 100644 (file)
--- a/setup.py
+++ b/setup.py
@@ -1,7 +1,7 @@
 import pathlib
 from setuptools import setup, find_packages
 HERE = pathlib.Path(__file__).parent
-VERSION = '0.0.10.pre-alpha'
+VERSION = '0.0.dev12'
 PACKAGE_NAME = 'django_predrill_tickle'
 AUTHOR = 'David Kerkeslager'
 AUTHOR_EMAIL = 'david@kerkeslager.com'
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'),