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

Work around #38 for now.

Introduces the original bug instead of the current exception.
parent f8b3c21d
No related branches found
No related tags found
No related merge requests found
......@@ -103,6 +103,7 @@ def week_view(request: HttpRequest, year: Optional[int] = None, week: Optional[i
))
).in_week(wanted_week)
group = None # FIXME workaround for #38
if request.GET.get('group', None) or request.GET.get('teacher', None) or request.GET.get('room', None):
lesson_periods = lesson_periods.filter_from_query(request.GET)
elif hasattr(request, 'user') and hasattr(request.user, 'person'):
......
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