diff options
Diffstat (limited to 'app/sightings/migrations/0003_auto_20180207_1738.py')
-rw-r--r-- | app/sightings/migrations/0003_auto_20180207_1738.py | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/app/sightings/migrations/0003_auto_20180207_1738.py b/app/sightings/migrations/0003_auto_20180207_1738.py new file mode 100644 index 0000000..7851df8 --- /dev/null +++ b/app/sightings/migrations/0003_auto_20180207_1738.py @@ -0,0 +1,22 @@ +# Generated by Django 2.0.1 on 2018-02-07 17:38 + +from django.db import migrations + + +class Migration(migrations.Migration): + + dependencies = [ + ('sightings', '0002_auto_20180131_1303'), + ] + + 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', + ), + ] |