Skip to content
Snippets Groups Projects
Verified Commit f5b3d596 authored by Jonathan Weth's avatar Jonathan Weth :keyboard:
Browse files

Fix import of ValidityRange in migration

parent ac3e6597
No related branches found
No related tags found
1 merge request!203Resolve "Adapt to moving of ValidityRange"
Pipeline #194850 failed
......@@ -6,7 +6,7 @@ from aleksis.core.util.core_helpers import get_site_preferences
def guess_school_id(apps, schema_editor):
db_alias = schema_editor.connection.alias
from aleksis.apps.chronos.models import ValidityRange
from aleksis.apps.lesrooster.models import ValidityRange
try:
vr = ValidityRange.objects.using(db_alias).first()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment