From cfeeda7adec97d618ad1fc01926b1fa88298fc85 Mon Sep 17 00:00:00 2001 From: luxagraf Date: Sun, 3 Mar 2019 14:36:45 -0600 Subject: Change sketches to fieldnotes and redid design to allow posting single photos --- .../migrations/0002_auto_20190303_1222.py | 25 ++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 app/fieldnotes/migrations/0002_auto_20190303_1222.py (limited to 'app/fieldnotes/migrations/0002_auto_20190303_1222.py') diff --git a/app/fieldnotes/migrations/0002_auto_20190303_1222.py b/app/fieldnotes/migrations/0002_auto_20190303_1222.py new file mode 100644 index 0000000..c0e352e --- /dev/null +++ b/app/fieldnotes/migrations/0002_auto_20190303_1222.py @@ -0,0 +1,25 @@ +# Generated by Django 2.1.7 on 2019-03-03 12:22 + +from django.db import migrations, models +import django.db.models.deletion + + +class Migration(migrations.Migration): + + dependencies = [ + ('photos', '0018_auto_20161130_1218'), + ('fieldnotes', '0001_initial'), + ] + + operations = [ + migrations.AddField( + model_name='fieldnote', + name='featured_image', + field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, to='photos.LuxImage'), + ), + migrations.AddField( + model_name='fieldnote', + name='note_type', + field=models.IntegerField(choices=[(0, 'Note'), (1, 'Photo')], default=0), + ), + ] -- cgit v1.2.3-70-g09d2