From f9f0431270398051c5193ab2a172c9b0943cbcef Mon Sep 17 00:00:00 2001
From: Tom Teichler <tom.teichler@teckids.org>
Date: Wed, 17 Jul 2019 13:17:57 +0200
Subject: [PATCH] Add initial tt_week.html.

---
 biscuit/apps/chronos/templates/chronos/tt_week.html | 8 ++++++++
 biscuit/apps/chronos/views.py                       | 6 ++++--
 2 files changed, 12 insertions(+), 2 deletions(-)
 create mode 100644 biscuit/apps/chronos/templates/chronos/tt_week.html

diff --git a/biscuit/apps/chronos/templates/chronos/tt_week.html b/biscuit/apps/chronos/templates/chronos/tt_week.html
new file mode 100644
index 00000000..191c0dde
--- /dev/null
+++ b/biscuit/apps/chronos/templates/chronos/tt_week.html
@@ -0,0 +1,8 @@
+{# -*- engine:django -*- #}
+{% extends "core/base.html" %}
+{% load bootstrap4 %}
+
+{% block page_title %}Timetable{% endblock %}
+
+{% block content %}
+{% endblock %}
diff --git a/biscuit/apps/chronos/views.py b/biscuit/apps/chronos/views.py
index 43e81eb3..4e050cd6 100644
--- a/biscuit/apps/chronos/views.py
+++ b/biscuit/apps/chronos/views.py
@@ -1,9 +1,11 @@
 from django.contrib.auth.decorators import login_required
+from django.shortcuts import redirect, render
 
 from biscuit.core.decorators import admin_required
 
-
 @login_required
 @admin_required
 def timetable(request):
-    pass
+    context = {}
+
+    return render(request, 'chronos/tt_week.html')
-- 
GitLab