Skip to content
Snippets Groups Projects
Verified Commit af7a96af authored by Alexa Valentová's avatar Alexa Valentová
Browse files

fix migration (2)

parent c1fdc8f8
Branches
No related tags found
2 merge requests!948Release,!945Fix migration
Pipeline #17375 passed
...@@ -11,7 +11,10 @@ class Migration(migrations.Migration): ...@@ -11,7 +11,10 @@ class Migration(migrations.Migration):
] ]
operations = [ operations = [
migrations.AlterField( migrations.RemoveField(
model_name="elections2021homepage", name="gdpr_and_cookies_page"
),
migrations.AddField(
model_name="elections2021homepage", model_name="elections2021homepage",
name="gdpr_and_cookies_page", name="gdpr_and_cookies_page",
field=models.ForeignKey( field=models.ForeignKey(
...@@ -20,7 +23,7 @@ class Migration(migrations.Migration): ...@@ -20,7 +23,7 @@ class Migration(migrations.Migration):
on_delete=django.db.models.deletion.SET_NULL, on_delete=django.db.models.deletion.SET_NULL,
related_name="+", related_name="+",
to="main.mainsimplepage", to="main.mainsimplepage",
verbose_name="stránka GDPR a Cookies", verbose_name="Stránka GDPR a Cookies",
), ),
), ),
] ]
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment