summaryrefslogtreecommitdiff
path: root/app/birds/migrations/0007_auto_20170821_1415.py
blob: a51776c1c3a66061fc02e14a330153e475765232 (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
28
29
30
31
32
33
34
35
36
# -*- coding: utf-8 -*-
# Generated by Django 1.9 on 2017-08-21 14:15
from __future__ import unicode_literals

import django.contrib.gis.db.models.fields
from django.db import migrations, models
import django.db.models.deletion


class Migration(migrations.Migration):

    dependencies = [
        ('photos', '0018_auto_20161130_1218'),
        ('birds', '0006_auto_20170714_2224'),
    ]

    operations = [
        migrations.AlterModelOptions(
            name='birdsighting',
            options={'get_latest_by': 'date', 'verbose_name_plural': 'Bird Sighting'},
        ),
        migrations.RemoveField(
            model_name='birdsighting',
            name='images',
        ),
        migrations.AddField(
            model_name='birdsighting',
            name='image',
            field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='photos.LuxImage'),
        ),
        migrations.AlterField(
            model_name='birdsighting',
            name='point',
            field=django.contrib.gis.db.models.fields.PointField(blank=True, srid=4326),
        ),
    ]