aboutsummaryrefslogtreecommitdiffstats
path: root/ctrack
diff options
context:
space:
mode:
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")