Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
AlekSIS-App-Untis
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
AlekSIS®
Official
AlekSIS-App-Untis
Commits
d4c3129a
Commit
d4c3129a
authored
1 year ago
by
Jonathan Weth
Browse files
Options
Downloads
Plain Diff
Merge branch 'fix-migration-variable-name' into 'master'
Fix migration variable name See merge request
!172
parents
c3ace3a1
8d243732
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!172
Fix migration variable name
Pipeline
#148348
failed
1 year ago
Stage: prepare
Stage: test
Stage: build
Stage: publish
Stage: deploy
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
CHANGELOG.rst
+5
-0
5 additions, 0 deletions
CHANGELOG.rst
aleksis/apps/untis/migrations/0003_guess_school_id.py
+1
-1
1 addition, 1 deletion
aleksis/apps/untis/migrations/0003_guess_school_id.py
with
6 additions
and
1 deletion
CHANGELOG.rst
+
5
−
0
View file @
d4c3129a
...
...
@@ -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
-------------------
...
...
This diff is collapsed.
Click to expand it.
aleksis/apps/untis/migrations/0003_guess_school_id.py
+
1
−
1
View file @
d4c3129a
...
...
@@ -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
):
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment