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

Pass today to template.

parent 03990912
No related branches found
No related tags found
No related merge requests found
from collections import OrderedDict
from datetime import timedelta
from datetime import date, timedelta
from typing import Optional
from django.contrib.auth.decorators import login_required
......@@ -233,5 +233,6 @@ def full_register_group(request: HttpRequest, id_: int) -> HttpResponse:
context['lesson_periods'] = lesson_periods
context['periods_by_day'] = periods_by_day
context['persons'] = persons
context['today'] = date.today()
return render(request, 'alsijil/print/full_register.html', context)
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