diff options
author | Matthew Lemon <lemon@matthewlemon.com> | 2020-05-27 16:21:51 +0100 |
---|---|---|
committer | Matthew Lemon <lemon@matthewlemon.com> | 2020-05-27 16:21:51 +0100 |
commit | fa674ad70439cea0de962b87e5ac4c4dc0fa16f7 (patch) | |
tree | 706da51c48601390fc2e186bbde470da56977136 /ctrack/core | |
parent | ed9a9be6e9daf58ef445047a85d0748fef53087f (diff) |
working through permissions issues
Diffstat (limited to 'ctrack/core')
-rw-r--r-- | ctrack/core/views.py | 2 |
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") |