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

Merge branch 'fix-migration-variable-name' into 'master'

Fix migration variable name

See merge request !172
parents c3ace3a1 8d243732
No related branches found
No related tags found
1 merge request!172Fix migration variable name
Pipeline #148348 failed
......@@ -9,6 +9,11 @@ and this project adheres to `Semantic Versioning`_.
Unreleased
----------
Fixed
~~~~~
* Migrations failed in some cases due to programming mistake.
`3.0`_ - 2023-05-15
-------------------
......
......@@ -16,7 +16,7 @@ def guess_school_id(apps, schema_editor):
if not vr or not vr.school_id_untis:
return
get_site_preferences()["untis_mysql__school_id"] = school_id
get_site_preferences()["untis_mysql__school_id"] = vr.school_id_untis
class Migration(migrations.Migration):
......
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