Skip to content
Snippets Groups Projects
Verified Commit 65d58a28 authored by Tom Teichler's avatar Tom Teichler :beers:
Browse files

Fix name.

parent 8d0808d2
No related branches found
No related tags found
No related merge requests found
......@@ -126,7 +126,7 @@ def edit_substitution(request: HttpRequest, id_: int, week: int) -> HttpResponse
else:
edit_substitution_form = LessonSubstitutionForm(request.POST or None, initial={'week': week, 'lesson_period': lesson_period})
context['substitution'] = substitution
context['substitution'] = lesson_substitution
if request.method == 'POST':
if edit_substitution_form.is_valid():
......
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