Skip to content
Permalink
41deb3a028
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
48 lines (42 sloc) 1.74 KB
# Generated by Django 2.1.5 on 2020-08-14 14:24
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
initial = True
dependencies = [
('cms', '0022_auto_20180620_1551'),
]
operations = [
migrations.CreateModel(
name='Author',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('name', models.CharField(max_length=200, unique=True)),
('description', models.CharField(max_length=1000)),
],
options={
'verbose_name_plural': 'Authors',
},
),
migrations.CreateModel(
name='EOAAuthorListModel',
fields=[
('cmsplugin_ptr', models.OneToOneField(auto_created=True, on_delete=django.db.models.deletion.CASCADE, parent_link=True, primary_key=True, related_name='eoaauthors2_eoaauthorlistmodel', serialize=False, to='cms.CMSPlugin')),
],
options={
'abstract': False,
},
bases=('cms.cmsplugin',),
),
migrations.CreateModel(
name='EOAAuthorModel',
fields=[
('cmsplugin_ptr', models.OneToOneField(auto_created=True, on_delete=django.db.models.deletion.CASCADE, parent_link=True, primary_key=True, related_name='eoaauthors2_eoaauthormodel', serialize=False, to='cms.CMSPlugin')),
('series', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='eoaauthors2.Author')),
],
options={
'abstract': False,
},
bases=('cms.cmsplugin',),
),
]