From: David Kerkeslager Date: Sat, 27 Feb 2021 06:33:13 +0000 (-0500) Subject: Update version, add migrations to release, add __str__ to attempts X-Git-Url: https://code.kerkeslager.com/?p=tickle;a=commitdiff_plain;h=e34c18b4eccf43d06ad77e27e4c82de6ee87e635 Update version, add migrations to release, add __str__ to attempts --- diff --git a/MANIFEST.in b/MANIFEST.in index adb4883..b43f40a 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1,3 +1,4 @@ include LICENSE include README.md recursive-include tickle/templates *.html +include tickle/migrations/*.py diff --git a/setup.py b/setup.py index f1ffd01..fd1b9a2 100644 --- 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' diff --git a/tickle/models.py b/tickle/models.py index 6dc17ca..b588799 100644 --- 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'),