From daeff544f8fc5b3ea64910c225a5cb2810929710 Mon Sep 17 00:00:00 2001
From: Dominik George <dominik.george@teckids.org>
Date: Wed, 4 Sep 2019 20:54:49 +0200
Subject: [PATCH] Fix NamedTuple access.

---
 biscuit/apps/alsijil/templates/alsijil/group_week.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/biscuit/apps/alsijil/templates/alsijil/group_week.html b/biscuit/apps/alsijil/templates/alsijil/group_week.html
index e19e3d889..ec9deea8a 100644
--- a/biscuit/apps/alsijil/templates/alsijil/group_week.html
+++ b/biscuit/apps/alsijil/templates/alsijil/group_week.html
@@ -28,7 +28,7 @@
           </div>
           <div class="card-body">
             {% regroup lesson_periods by period.weekday as periods_by_day %}
-            {% for weekday, periods in periods_by_day.items %}
+            {% for weekday, periods in periods_by_day %}
               <h3>{{ weekday }}</h3>
               <table class="table table-striped table-bordered table-hover table-responsive-xl">
                 <thead>
-- 
GitLab