# Generated by Django 2.1.7 on 2019-07-04 09:03 import django.contrib.gis.db.models.fields from django.db import migrations, models import django.db.models.deletion import taggit.managers class Migration(migrations.Migration): initial = True dependencies = [ ('jrnl', '0043_auto_20190704_0903'), ('books', '0009_book_afflink'), ('photos', '0019_auto_20190704_0903'), ('fieldnotes', '0002_auto_20190303_1222'), ('locations', '0018_auto_20190414_2124'), ('essays', '0010_essay_field_notes'), ('taxonomy', '0001_initial'), ] operations = [ migrations.CreateModel( name='Guide', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('title', models.CharField(max_length=200)), ('sub_title', models.CharField(blank=True, max_length=200)), ('dek', models.TextField(blank=True)), ('preamble_markdown', models.TextField(blank=True)), ('preamble_html', models.TextField(blank=True)), ('slug', models.SlugField(unique_for_date='pub_date')), ('body_html', models.TextField(blank=True)), ('body_markdown', models.TextField()), ('pub_date', models.DateTimeField(verbose_name='Date published')), ('last_updated', models.DateTimeField(auto_now=True)), ('enable_comments', models.BooleanField(default=False)), ('status', models.IntegerField(choices=[(0, 'Draft'), (1, 'Published')], default=0)), ('meta_description', models.CharField(blank=True, max_length=256, null=True)), ('has_video', models.BooleanField(blank=True, default=False)), ('point', django.contrib.gis.db.models.fields.PointField(blank=True, null=True, srid=4326)), ('afterword', models.TextField(blank=True)), ('afterword_html', models.TextField(blank=True)), ('books', models.ManyToManyField(blank=True, to='books.Book')), ('category', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='taxonomy.Category')), ('essays', models.ManyToManyField(blank=True, to='essays.Essay')), ('featured_image', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='photos.LuxImage')), ('field_notes', models.ManyToManyField(blank=True, to='fieldnotes.FieldNote')), ('jrnl', models.ManyToManyField(blank=True, to='jrnl.Entry')), ('location', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='locations.Location')), ('tags', taggit.managers.TaggableManager(blank=True, help_text='Topics Covered', through='taxonomy.TaggedItems', to='taxonomy.LuxTag', verbose_name='Tags')), ], options={ 'verbose_name_plural': 'Guides', 'ordering': ('-pub_date',), 'get_latest_by': 'pub_date', }, ), ]