From 58473dd4e0758894f15f834bddedd0caf11cfa59 Mon Sep 17 00:00:00 2001 From: luxagraf Date: Tue, 6 Feb 2018 10:36:26 -0600 Subject: converted to new path url structure and updated pagination to handle it. --- .../migrations/0002_auto_20180205_1430.py | 27 ++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 app/sightings/migrations/0002_auto_20180205_1430.py (limited to 'app/sightings/migrations/0002_auto_20180205_1430.py') diff --git a/app/sightings/migrations/0002_auto_20180205_1430.py b/app/sightings/migrations/0002_auto_20180205_1430.py new file mode 100644 index 0000000..e917508 --- /dev/null +++ b/app/sightings/migrations/0002_auto_20180205_1430.py @@ -0,0 +1,27 @@ +# Generated by Django 2.0.1 on 2018-02-05 14:30 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('sightings', '0001_initial'), + ] + + operations = [ + migrations.AlterModelOptions( + name='sighting', + options={'get_latest_by': 'pub_date', 'ordering': ['-pub_date']}, + ), + migrations.RenameField( + model_name='sighting', + old_name='date', + new_name='pub_date', + ), + migrations.AlterField( + model_name='apclass', + name='kind', + field=models.IntegerField(choices=[(1, 'Birds'), (2, 'Mammals'), (3, 'Reptiles'), (4, 'Amphibians'), (5, 'Plants')], default=1), + ), + ] -- cgit v1.2.3-70-g09d2