diff options
author | Matthew Lemon <lemon@matthewlemon.com> | 2020-05-26 21:02:33 +0100 |
---|---|---|
committer | Matthew Lemon <lemon@matthewlemon.com> | 2020-05-26 21:02:33 +0100 |
commit | 055f13ec1a20a2043daee6c7784045ae06e92236 (patch) | |
tree | 5f2661ce97726a0350fafc6be99e9eabeabf5e4c /ctrack | |
parent | ab83194ae6b0aeadd57237d32eb08d7c09e703b3 (diff) |
forgot login_required decorator
Diffstat (limited to 'ctrack')
-rw-r--r-- | ctrack/core/views.py | 2 |
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") |