]> code.kerkeslager.com Git - tickle/commitdiff
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 adb48833d6a28c1f77da2e4c60438df540ad68e9..b43f40a84621653edf9ea08e98f674c06fce7d42 100644 (file)
@@ -1,3 +1,4 @@
 include LICENSE
 include README.md
 recursive-include tickle/templates *.html
+include tickle/migrations/*.py
index f1ffd01100dc7b94a1096135dd79e8a6142439eb..fd1b9a24fdb61fe6cdc2ade62c5203d0a0506578 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 6dc17ca9c5364ff8b5e02286bcc17249a18bd88b..b5887996a496b17c5f4c922a415f2f3ccd5fa5a4 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'),