summaryrefslogtreecommitdiff
path: root/app/sightings/migrations/0002_auto_20180205_1430.py
blob: e9175088cf0be6dda9df19104d596d99080e915e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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),
        ),
    ]