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

Redirect to index.

parent 70f555d6
No related branches found
No related tags found
1 merge request!26Resolve "Register absences and excuses centrally"
......@@ -232,7 +232,7 @@ def absences_excuses(request: HttpRequest) -> HttpResponse:
person.save()
messages.success(request, _('The absence has been saved.'))
return redirect(request, 'index.html')
return redirect('index')
context['manage_absence_form'] = manage_absence_form
......
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