Skip to content

Commit 793a297

Browse files
committed
add missing var to context
1 parent 5aca26b commit 793a297

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

landing_page/mainpage/views.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,8 @@ def advanced_handle(request: HttpRequest) -> HttpResponse:
5353
request,
5454
'mainpage/advanced.html',
5555
context={
56-
"enrollment": enrollment,
56+
'today': date.today(),
57+
'enrollment': enrollment,
5758
'registration_closes_date_formatted': (
5859
enrollment.end_registration_date.strftime('%b %d, %Y %H:%M:%S')
5960
if enrollment else ""

0 commit comments

Comments
 (0)