0006_mailchimpapisettings.py 945 B

1234567891011121314151617181920212223242526
  1. # Generated by Django 2.1.5 on 2019-01-08 19:41
  2. from django.db import migrations, models
  3. import django.db.models.deletion
  4. class Migration(migrations.Migration):
  5. dependencies = [
  6. ('wagtailcore', '0040_page_draft_title'),
  7. ('wagtailcrx', '0005_auto_20181214_2214'),
  8. ]
  9. operations = [
  10. migrations.CreateModel(
  11. name='MailchimpApiSettings',
  12. fields=[
  13. ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
  14. ('mailchimp_api_key', models.CharField(blank=True, help_text='The API Key used for Mailchimp.', max_length=255, verbose_name='Mailchimp API Key')),
  15. ('site', models.OneToOneField(editable=False, on_delete=django.db.models.deletion.CASCADE, to='wagtailcore.Site')),
  16. ],
  17. options={
  18. 'verbose_name': 'Mailchimp API Settings',
  19. },
  20. ),
  21. ]