diff options
Diffstat (limited to 'ctrack/core')
-rw-r--r-- | ctrack/core/views.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/ctrack/core/views.py b/ctrack/core/views.py index 195b2f5..02f3db1 100644 --- a/ctrack/core/views.py +++ b/ctrack/core/views.py @@ -4,4 +4,7 @@ from django.shortcuts import render @login_required def home_page(request): - return render(request, "pages/home.html") + if request.user.is_stakeholder(): + return render(request, "pages/stakeholder_home.html") + else: + return render(request, "pages/home.html") |