summaryrefslogtreecommitdiff
path: root/app/unused_apps/birds/migrations/0012_auto_20180126_1739.py
diff options
context:
space:
mode:
authorluxagraf <sng@luxagraf.net>2018-02-06 10:36:26 -0600
committerluxagraf <sng@luxagraf.net>2018-02-06 10:36:26 -0600
commit58473dd4e0758894f15f834bddedd0caf11cfa59 (patch)
tree6f4d4fb9e120813bcbaaf03044fdb84eb7764c41 /app/unused_apps/birds/migrations/0012_auto_20180126_1739.py
parentadcd4671a261aa72d459b691aabb6f2eef2a0cb7 (diff)
converted to new path url structure and updated pagination to handle it.
Diffstat (limited to 'app/unused_apps/birds/migrations/0012_auto_20180126_1739.py')
-rw-r--r--app/unused_apps/birds/migrations/0012_auto_20180126_1739.py44
1 files changed, 44 insertions, 0 deletions
diff --git a/app/unused_apps/birds/migrations/0012_auto_20180126_1739.py b/app/unused_apps/birds/migrations/0012_auto_20180126_1739.py
new file mode 100644
index 0000000..307aa42
--- /dev/null
+++ b/app/unused_apps/birds/migrations/0012_auto_20180126_1739.py
@@ -0,0 +1,44 @@
+# Generated by Django 2.0.1 on 2018-01-26 17:39
+
+from django.conf import settings
+import django.contrib.gis.db.models.fields
+from django.db import migrations, models
+import django.db.models.deletion
+import django.utils.timezone
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ('locations', '0002_checkin'),
+ ('photos', '0018_auto_20161130_1218'),
+ ('contenttypes', '0002_remove_content_type_name'),
+ migrations.swappable_dependency(settings.AUTH_USER_MODEL),
+ ('birds', '0011_auto_20180126_1456'),
+ ]
+
+ operations = [
+ migrations.CreateModel(
+ name='Sighting',
+ fields=[
+ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
+ ('object_id', models.PositiveIntegerField()),
+ ('point', django.contrib.gis.db.models.fields.PointField(blank=True, srid=4326)),
+ ('date', models.DateTimeField(default=django.utils.timezone.now, verbose_name='Date')),
+ ('content_type', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='contenttypes.ContentType')),
+ ('images', models.ManyToManyField(blank=True, to='photos.LuxImage')),
+ ('location', models.ForeignKey(blank=True, on_delete=django.db.models.deletion.CASCADE, to='locations.Location')),
+ ('seen_by', models.ManyToManyField(to=settings.AUTH_USER_MODEL)),
+ ],
+ ),
+ migrations.AlterField(
+ model_name='ap',
+ name='code',
+ field=models.IntegerField(choices=[(0, 'unknown'), (1, 'regular occurring - common'), (2, 'regular occurring - less common'), (3, 'rare'), (4, 'casual'), (5, 'accidental'), (6, 'Cannot be found')], default=0),
+ ),
+ migrations.AlterField(
+ model_name='bird',
+ name='code',
+ field=models.IntegerField(choices=[(0, 'unknown'), (1, 'regular occurring - common'), (2, 'regular occurring - less common'), (3, 'rare'), (4, 'casual'), (5, 'accidental'), (6, 'Cannot be found')], default=0),
+ ),
+ ]