diff options
author | luxagraf <sng@luxagraf.net> | 2018-02-06 10:36:26 -0600 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2018-02-06 10:36:26 -0600 |
commit | 58473dd4e0758894f15f834bddedd0caf11cfa59 (patch) | |
tree | 6f4d4fb9e120813bcbaaf03044fdb84eb7764c41 /app/unused_apps/birds/migrations/0007_auto_20170821_1415.py | |
parent | adcd4671a261aa72d459b691aabb6f2eef2a0cb7 (diff) |
converted to new path url structure and updated pagination to handle it.
Diffstat (limited to 'app/unused_apps/birds/migrations/0007_auto_20170821_1415.py')
-rw-r--r-- | app/unused_apps/birds/migrations/0007_auto_20170821_1415.py | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/app/unused_apps/birds/migrations/0007_auto_20170821_1415.py b/app/unused_apps/birds/migrations/0007_auto_20170821_1415.py new file mode 100644 index 0000000..a51776c --- /dev/null +++ b/app/unused_apps/birds/migrations/0007_auto_20170821_1415.py @@ -0,0 +1,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), + ), + ] |