-
-
Notifications
You must be signed in to change notification settings - Fork 625
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #863 from jazzband/django-upgrade
Add migration files for tests
- Loading branch information
Showing
2 changed files
with
178 additions
and
0 deletions.
There are no files selected for viewing
173 changes: 173 additions & 0 deletions
173
tests/migrations/0007_alter_multiinheritancelazyresolutionfoodtag_tag_and_more.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,173 @@ | ||
# Generated by Django 4.2 on 2023-07-24 00:05 | ||
|
||
import django.db.models.deletion | ||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
dependencies = [ | ||
("contenttypes", "0002_remove_content_type_name"), | ||
("taggit", "0005_auto_20220424_2025"), | ||
("tests", "0006_auto_20230622_0834"), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name="multiinheritancelazyresolutionfoodtag", | ||
name="tag", | ||
field=models.ForeignKey( | ||
on_delete=django.db.models.deletion.CASCADE, | ||
related_name="%(app_label)s_%(class)s_items", | ||
to="taggit.tag", | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name="officialthroughmodel", | ||
name="content_type", | ||
field=models.ForeignKey( | ||
on_delete=django.db.models.deletion.CASCADE, | ||
related_name="%(app_label)s_%(class)s_tagged_items", | ||
to="contenttypes.contenttype", | ||
verbose_name="content type", | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name="taggedcustompk", | ||
name="content_type", | ||
field=models.ForeignKey( | ||
on_delete=django.db.models.deletion.CASCADE, | ||
related_name="%(app_label)s_%(class)s_tagged_items", | ||
to="contenttypes.contenttype", | ||
verbose_name="content type", | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name="taggedcustompk", | ||
name="tag", | ||
field=models.ForeignKey( | ||
on_delete=django.db.models.deletion.CASCADE, | ||
related_name="%(app_label)s_%(class)s_items", | ||
to="taggit.tag", | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name="taggedcustompkfood", | ||
name="tag", | ||
field=models.ForeignKey( | ||
on_delete=django.db.models.deletion.CASCADE, | ||
related_name="%(app_label)s_%(class)s_items", | ||
to="taggit.tag", | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name="taggedcustompkpet", | ||
name="tag", | ||
field=models.ForeignKey( | ||
on_delete=django.db.models.deletion.CASCADE, | ||
related_name="%(app_label)s_%(class)s_items", | ||
to="taggit.tag", | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name="taggedfood", | ||
name="tag", | ||
field=models.ForeignKey( | ||
on_delete=django.db.models.deletion.CASCADE, | ||
related_name="%(app_label)s_%(class)s_items", | ||
to="taggit.tag", | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name="taggedpet", | ||
name="tag", | ||
field=models.ForeignKey( | ||
on_delete=django.db.models.deletion.CASCADE, | ||
related_name="%(app_label)s_%(class)s_items", | ||
to="taggit.tag", | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name="taggedtrackedfood", | ||
name="tag", | ||
field=models.ForeignKey( | ||
on_delete=django.db.models.deletion.CASCADE, | ||
related_name="%(class)s_items", | ||
to="tests.trackedtag", | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name="taggedtrackedpet", | ||
name="tag", | ||
field=models.ForeignKey( | ||
on_delete=django.db.models.deletion.CASCADE, | ||
related_name="%(class)s_items", | ||
to="tests.trackedtag", | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name="tenanttaggeditem", | ||
name="content_type", | ||
field=models.ForeignKey( | ||
on_delete=django.db.models.deletion.CASCADE, | ||
related_name="%(app_label)s_%(class)s_tagged_items", | ||
to="contenttypes.contenttype", | ||
verbose_name="content type", | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name="tenanttaggeditem", | ||
name="tag", | ||
field=models.ForeignKey( | ||
on_delete=django.db.models.deletion.CASCADE, | ||
related_name="%(app_label)s_%(class)s_items", | ||
to="tests.tenanttag", | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name="through1", | ||
name="tag", | ||
field=models.ForeignKey( | ||
on_delete=django.db.models.deletion.CASCADE, | ||
related_name="%(app_label)s_%(class)s_items", | ||
to="taggit.tag", | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name="through2", | ||
name="tag", | ||
field=models.ForeignKey( | ||
on_delete=django.db.models.deletion.CASCADE, | ||
related_name="%(app_label)s_%(class)s_items", | ||
to="taggit.tag", | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name="throughgfk", | ||
name="content_type", | ||
field=models.ForeignKey( | ||
on_delete=django.db.models.deletion.CASCADE, | ||
related_name="%(app_label)s_%(class)s_tagged_items", | ||
to="contenttypes.contenttype", | ||
verbose_name="content type", | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name="uuidtaggeditem", | ||
name="content_type", | ||
field=models.ForeignKey( | ||
on_delete=django.db.models.deletion.CASCADE, | ||
related_name="%(app_label)s_%(class)s_tagged_items", | ||
to="contenttypes.contenttype", | ||
verbose_name="content type", | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name="uuidtaggeditem", | ||
name="tag", | ||
field=models.ForeignKey( | ||
on_delete=django.db.models.deletion.CASCADE, | ||
related_name="%(app_label)s_%(class)s_items", | ||
to="tests.uuidtag", | ||
), | ||
), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters