From 7f82fda31ca7a3f7970851356f4b2055859c3da2 Mon Sep 17 00:00:00 2001
From: Tom Teichler <tom.teichler@teckids.org>
Date: Sat, 31 Aug 2019 21:36:08 +0200
Subject: [PATCH] Rename context.

---
 biscuit/apps/chronos/views.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/biscuit/apps/chronos/views.py b/biscuit/apps/chronos/views.py
index ed29ab10..1b4f879f 100644
--- a/biscuit/apps/chronos/views.py
+++ b/biscuit/apps/chronos/views.py
@@ -102,10 +102,10 @@ def lessons_day(request: HttpRequest, when: Optional[str] = None) -> HttpRespons
     ).all()
 
     # Build table
-    lesson_table = LessonsTable(lesson_periods)
-    RequestConfig(request).configure(lesson_table)
+    lessons_table = LessonsTable(lesson_periods)
+    RequestConfig(request).configure(lessons_table)
 
-    context['lesson_table'] = lesson_table
+    context['lessons_table'] = lessons_table
     context['day'] = day
     context['day_prev'] = day + timedelta(days=-1)
     context['day_next'] = day + timedelta(days=1)
-- 
GitLab