Update migrations
No backwards-compatibility here! Just dump your old base! :Dfix_request_path_info
parent
59679f3a4b
commit
f28b0b5172
|
|
@ -1,5 +1,5 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
# Generated by Django 1.9b1 on 2015-10-22 01:24
|
||||
# Generated by Django 1.9b1 on 2015-10-23 22:20
|
||||
from __future__ import unicode_literals
|
||||
|
||||
from django.db import migrations, models
|
||||
|
|
@ -66,6 +66,17 @@ class Migration(migrations.Migration):
|
|||
'ordering': ('title',),
|
||||
},
|
||||
),
|
||||
migrations.CreateModel(
|
||||
name='UUIDModelA',
|
||||
fields=[
|
||||
('uuid_primary_key', models.UUIDField(primary_key=True, serialize=False)),
|
||||
('field1', models.CharField(max_length=10)),
|
||||
],
|
||||
options={
|
||||
'abstract': False,
|
||||
},
|
||||
bases=(polymorphic.showfields.ShowFieldTypeAndContent, models.Model),
|
||||
),
|
||||
migrations.CreateModel(
|
||||
name='ArtProject',
|
||||
fields=[
|
||||
|
|
@ -118,6 +129,22 @@ class Migration(migrations.Migration):
|
|||
},
|
||||
bases=('pexp.project',),
|
||||
),
|
||||
migrations.CreateModel(
|
||||
name='UUIDModelB',
|
||||
fields=[
|
||||
('uuidmodela_ptr', models.OneToOneField(auto_created=True, on_delete=django.db.models.deletion.CASCADE, parent_link=True, primary_key=True, serialize=False, to='pexp.UUIDModelA')),
|
||||
('field2', models.CharField(max_length=10)),
|
||||
],
|
||||
options={
|
||||
'abstract': False,
|
||||
},
|
||||
bases=('pexp.uuidmodela',),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='uuidmodela',
|
||||
name='polymorphic_ctype',
|
||||
field=models.ForeignKey(editable=False, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='polymorphic_pexp.uuidmodela_set+', to='contenttypes.ContentType'),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='project',
|
||||
name='polymorphic_ctype',
|
||||
|
|
@ -181,4 +208,15 @@ class Migration(migrations.Migration):
|
|||
],
|
||||
bases=('pexp.nmodelb',),
|
||||
),
|
||||
migrations.CreateModel(
|
||||
name='UUIDModelC',
|
||||
fields=[
|
||||
('uuidmodelb_ptr', models.OneToOneField(auto_created=True, on_delete=django.db.models.deletion.CASCADE, parent_link=True, primary_key=True, serialize=False, to='pexp.UUIDModelB')),
|
||||
('field3', models.CharField(max_length=10)),
|
||||
],
|
||||
options={
|
||||
'abstract': False,
|
||||
},
|
||||
bases=('pexp.uuidmodelb',),
|
||||
),
|
||||
]
|
||||
|
|
|
|||
Loading…
Reference in New Issue