1- # Generated by Django 4.2.27 on 2025-12-08 15:20
1+ # Generated by Django 4.2.27 on 2025-12-09 01:30
22
33from django .conf import settings
44from django .db import migrations , models
@@ -13,8 +13,8 @@ class Migration(migrations.Migration):
1313 initial = True
1414
1515 dependencies = [
16- ('auth' , '0012_alter_user_first_name_max_length' ),
1716 ('contenttypes' , '0002_remove_content_type_name' ),
17+ ('auth' , '0012_alter_user_first_name_max_length' ),
1818 ]
1919
2020 operations = [
@@ -581,6 +581,17 @@ class Migration(migrations.Migration):
581581 },
582582 bases = ('tests.one2onerelatingmodel' ,),
583583 ),
584+ migrations .CreateModel (
585+ name = 'ParentLinkAndRelatedName' ,
586+ fields = [
587+ ('superclass' , models .OneToOneField (on_delete = django .db .models .deletion .CASCADE , parent_link = True , primary_key = True , related_name = 'related_name_subclass' , serialize = False , to = 'tests.modelshow1_plain' )),
588+ ],
589+ options = {
590+ 'abstract' : False ,
591+ 'base_manager_name' : 'objects' ,
592+ },
593+ bases = ('tests.modelshow1_plain' ,),
594+ ),
584595 migrations .CreateModel (
585596 name = 'PlainB' ,
586597 fields = [
@@ -647,17 +658,6 @@ class Migration(migrations.Migration):
647658 },
648659 bases = ('tests.subclassselectorabstractbasemodel' ,),
649660 ),
650- migrations .CreateModel (
651- name = 'TestParentLinkAndRelatedName' ,
652- fields = [
653- ('superclass' , models .OneToOneField (on_delete = django .db .models .deletion .CASCADE , parent_link = True , primary_key = True , related_name = 'related_name_subclass' , serialize = False , to = 'tests.modelshow1_plain' )),
654- ],
655- options = {
656- 'abstract' : False ,
657- 'base_manager_name' : 'objects' ,
658- },
659- bases = ('tests.modelshow1_plain' ,),
660- ),
661661 migrations .CreateModel (
662662 name = 'UserProfile' ,
663663 fields = [
@@ -889,6 +889,17 @@ class Migration(migrations.Migration):
889889 'base_manager_name' : 'objects' ,
890890 },
891891 ),
892+ migrations .CreateModel (
893+ name = 'Foo' ,
894+ fields = [
895+ ('id' , models .AutoField (auto_created = True , primary_key = True , serialize = False , verbose_name = 'ID' )),
896+ ('polymorphic_ctype' , models .ForeignKey (editable = False , null = True , on_delete = django .db .models .deletion .CASCADE , related_name = 'polymorphic_%(app_label)s.%(class)s_set+' , to = 'contenttypes.contenttype' )),
897+ ],
898+ options = {
899+ 'abstract' : False ,
900+ 'base_manager_name' : 'objects' ,
901+ },
902+ ),
892903 migrations .CreateModel (
893904 name = 'DateModel' ,
894905 fields = [
@@ -928,6 +939,30 @@ class Migration(migrations.Migration):
928939 },
929940 bases = (polymorphic .showfields .ShowFieldTypeAndContent , models .Model ),
930941 ),
942+ migrations .CreateModel (
943+ name = 'Baz' ,
944+ fields = [
945+ ('id' , models .AutoField (auto_created = True , primary_key = True , serialize = False , verbose_name = 'ID' )),
946+ ('created_at' , models .DateTimeField (auto_now_add = True )),
947+ ('modified_at' , models .DateTimeField (auto_now = True )),
948+ ('polymorphic_ctype' , models .ForeignKey (editable = False , null = True , on_delete = django .db .models .deletion .CASCADE , related_name = 'polymorphic_%(app_label)s.%(class)s_set+' , to = 'contenttypes.contenttype' )),
949+ ],
950+ options = {
951+ 'abstract' : False ,
952+ },
953+ ),
954+ migrations .CreateModel (
955+ name = 'Bar' ,
956+ fields = [
957+ ('id' , models .AutoField (auto_created = True , primary_key = True , serialize = False , verbose_name = 'ID' )),
958+ ('created_at' , models .DateTimeField (auto_now_add = True )),
959+ ('modified_at' , models .DateTimeField (auto_now = True )),
960+ ('polymorphic_ctype' , models .ForeignKey (editable = False , null = True , on_delete = django .db .models .deletion .CASCADE , related_name = 'polymorphic_%(app_label)s.%(class)s_set+' , to = 'contenttypes.contenttype' )),
961+ ],
962+ options = {
963+ 'abstract' : False ,
964+ },
965+ ),
931966 migrations .CreateModel (
932967 name = 'ArtProject' ,
933968 fields = [
0 commit comments