From fa674ad70439cea0de962b87e5ac4c4dc0fa16f7 Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Wed, 27 May 2020 16:21:51 +0100 Subject: working through permissions issues --- ctrack/core/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ctrack/core') 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") -- cgit v1.2.3