From 6ed705c0f53cce4b4145c36aabf1554337015caf Mon Sep 17 00:00:00 2001 From: Shgck Date: Mon, 1 Feb 2016 19:04:22 +0100 Subject: [PATCH] Move some templates to a more appropriate place --- {templates => idre/templates/idre}/base.html | 0 {label/templates/label => idre/templates/idre}/home.html | 0 idre/views.py | 5 +++++ 3 files changed, 5 insertions(+) rename {templates => idre/templates/idre}/base.html (100%) rename {label/templates/label => idre/templates/idre}/home.html (100%) create mode 100644 idre/views.py diff --git a/templates/base.html b/idre/templates/idre/base.html similarity index 100% rename from templates/base.html rename to idre/templates/idre/base.html diff --git a/label/templates/label/home.html b/idre/templates/idre/home.html similarity index 100% rename from label/templates/label/home.html rename to idre/templates/idre/home.html diff --git a/idre/views.py b/idre/views.py new file mode 100644 index 0000000..cdc1c70 --- /dev/null +++ b/idre/views.py @@ -0,0 +1,5 @@ +from django.shortcuts import render + + +def home(request): + return render(request, "idre/home.html")