# Generated by Django 3.1 on 2021-03-24 12:54 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('media', '0008_auto_20201202_1155'), ('posts', '0019_auto_20210323_2155'), ('lttr', '0014_newsletter_intro'), ] operations = [ migrations.CreateModel( name='NewNewsletterMailing', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('title', models.CharField(blank=True, max_length=250)), ('subtitle', models.CharField(blank=True, max_length=250, null=True)), ('body_html', models.TextField(blank=True)), ('body_email_html', models.TextField(blank=True)), ('body_markdown', models.TextField(blank=True)), ('pub_date', models.DateTimeField(blank=True)), ('issue', models.PositiveIntegerField(blank=True)), ('featured_image', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='media.luximage')), ('newsletter', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='lttr.newsletter')), ('post', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, to='posts.post')), ], options={ 'ordering': ('-title', '-pub_date'), }, ), ]