aboutsummaryrefslogtreecommitdiffstats
path: root/ctrack/core/views.py
diff options
context:
space:
mode:
authorMatthew Lemon <lemon@matthewlemon.com>2020-05-26 21:02:33 +0100
committerMatthew Lemon <lemon@matthewlemon.com>2020-05-26 21:02:33 +0100
commit055f13ec1a20a2043daee6c7784045ae06e92236 (patch)
tree5f2661ce97726a0350fafc6be99e9eabeabf5e4c /ctrack/core/views.py
parentab83194ae6b0aeadd57237d32eb08d7c09e703b3 (diff)
forgot login_required decorator
Diffstat (limited to '')
-rw-r--r--ctrack/core/views.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/ctrack/core/views.py b/ctrack/core/views.py
index bee2d72..195b2f5 100644
--- a/ctrack/core/views.py
+++ b/ctrack/core/views.py
@@ -1,5 +1,7 @@
+from django.contrib.auth.decorators import login_required
from django.shortcuts import render
+@login_required
def home_page(request):
return render(request, "pages/home.html")