Skip to content
Snippets Groups Projects
Verified Commit 5b173302 authored by Nik | Klampfradler's avatar Nik | Klampfradler
Browse files

Make year optional in timetable view.

parent d02af8dc
No related branches found
No related tags found
No related merge requests found
......@@ -22,7 +22,7 @@ from .tables import LessonsTable
@login_required
def timetable(request: HttpRequest, year: Optional[int], week: Optional[int] = None) -> HttpResponse:
def timetable(request: HttpRequest, year: Optional[int] = None, week: Optional[int] = None) -> HttpResponse:
context = {}
if year and week:
......
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