-
-
Notifications
You must be signed in to change notification settings - Fork 64
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update django-taggit to 4.0 and migrate
- Loading branch information
1 parent
179ce68
commit 432299f
Showing
4 changed files
with
475 additions
and
282 deletions.
There are no files selected for viewing
105 changes: 105 additions & 0 deletions
105
civictechprojects/migrations/0063_alter_taggedcategory_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,105 @@ | ||
# Generated by Django 4.2 on 2023-06-20 03:42 | ||
|
||
from django.db import migrations, models | ||
import django.db.models.deletion | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
("taggit", "0003_taggeditem_add_unique_index"), | ||
("civictechprojects", "0062_auto_20230112_0100"), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name="taggedcategory", | ||
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="taggedeventorganization", | ||
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="taggedissueareas", | ||
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="taggedorganization", | ||
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="taggedorganizationtype", | ||
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="taggedpositionrole", | ||
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="taggedrsvpvolunteerrole", | ||
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="taggedstage", | ||
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="taggedtechnologies", | ||
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="taggedvolunteerrole", | ||
name="tag", | ||
field=models.ForeignKey( | ||
on_delete=django.db.models.deletion.CASCADE, | ||
related_name="%(app_label)s_%(class)s_items", | ||
to="taggit.tag", | ||
), | ||
), | ||
] |
24 changes: 24 additions & 0 deletions
24
democracylab/migrations/0010_alter_usertaggedtechnologies_tag.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,24 @@ | ||
# Generated by Django 4.2 on 2023-06-20 03:42 | ||
|
||
from django.db import migrations, models | ||
import django.db.models.deletion | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
("taggit", "0003_taggeditem_add_unique_index"), | ||
("democracylab", "0009_auto_20210302_2036"), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name="usertaggedtechnologies", | ||
name="tag", | ||
field=models.ForeignKey( | ||
on_delete=django.db.models.deletion.CASCADE, | ||
related_name="%(app_label)s_%(class)s_items", | ||
to="taggit.tag", | ||
), | ||
), | ||
] |
Oops, something went wrong.