Commit cd94697e authored by Jens Langhammer's avatar Jens Langhammer

Fix invalid DB Manager call in p2.serve migration

parent 16498d00
Pipeline #3830 failed with stage
in 2 minutes and 27 seconds
......@@ -9,7 +9,7 @@ from django.db import migrations, models
def clean_serve_rule(apps, schema_editor):
"""Remove ServeRules before upgrading, preventing an issue with pk."""
ServeRule = apps.get_model("p2_serve", "ServeRule")
class Migration(migrations.Migration):
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment