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

Fix typo.

parent a0f55f8f
No related branches found
No related tags found
1 merge request!50Add way to edit information about school and school term. Closes #19.
......@@ -192,7 +192,7 @@ def system_status(request: HttpRequest) -> HttpResponse:
def edit_school(request: HttpRequest) -> HttpResponse:
context = {}
school = request.user.Person.school
school = request.user.person.school
edit_school_form = EditSchoolForm(request.POST or None, request.FILES or None, instance=school)
......@@ -213,7 +213,7 @@ def edit_school(request: HttpRequest) -> HttpResponse:
def edit_schoolterm(request: HttpRequest) -> HttpResponse:
context = {}
term = request.user.Person.school.current_term
term = request.user.person.school.current_term
edit_term_form = EditTermForm(request.POST or None, instance=term)
......
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