aboutsummaryrefslogtreecommitdiffstats
path: root/ctrack/core
diff options
context:
space:
mode:
authorMatthew Lemon <lemon@matthewlemon.com>2020-05-27 16:21:51 +0100
committerMatthew Lemon <lemon@matthewlemon.com>2020-05-27 16:21:51 +0100
commitfa674ad70439cea0de962b87e5ac4c4dc0fa16f7 (patch)
tree706da51c48601390fc2e186bbde470da56977136 /ctrack/core
parented9a9be6e9daf58ef445047a85d0748fef53087f (diff)
working through permissions issues
Diffstat (limited to 'ctrack/core')
-rw-r--r--ctrack/core/views.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ctrack/core/views.py b/ctrack/core/views.py
index 02f3db1..107458e 100644
--- a/ctrack/core/views.py
+++ b/ctrack/core/views.py
@@ -4,7 +4,7 @@ from django.shortcuts import render
@login_required
def home_page(request):
- if request.user.is_stakeholder():
+ if request.user.is_stakeholder:
return render(request, "pages/stakeholder_home.html")
else:
return render(request, "pages/home.html")