From f7acb04d44851d4691264477d9b61a5846f5068a Mon Sep 17 00:00:00 2001 From: Andrew Williams Date: Wed, 26 Jan 2011 16:27:14 +0000 Subject: [PATCH] Login required to view the index page --- hr/views.py | 1 + 1 file changed, 1 insertion(+) diff --git a/hr/views.py b/hr/views.py index 6770de5..ee1b1c9 100644 --- a/hr/views.py +++ b/hr/views.py @@ -60,6 +60,7 @@ def check_permissions(user, application=None): ### General Views +@login_required def index(request): hrstaff = check_permissions(request.user) return render_to_response('hr/index.html', locals(), context_instance=RequestContext(request))