diff options
author | mahesh | 2016-04-21 17:23:38 +0530 |
---|---|---|
committer | mahesh | 2016-04-21 17:23:38 +0530 |
commit | f60d22247606b536227f9dc9a3d58d2a2919665d (patch) | |
tree | 46f0874b0de2af795d19b3fd5ef34f08ca17ae09 /tbc | |
parent | eb79ae5bb0d6525d812b03b21b2085a796c4567a (diff) | |
download | Python-TBC-Interface-f60d22247606b536227f9dc9a3d58d2a2919665d.tar.gz Python-TBC-Interface-f60d22247606b536227f9dc9a3d58d2a2919665d.tar.bz2 Python-TBC-Interface-f60d22247606b536227f9dc9a3d58d2a2919665d.zip |
added login_required decorator
Diffstat (limited to 'tbc')
-rwxr-xr-x | tbc/views.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tbc/views.py b/tbc/views.py index 18e2d4d..1466ff1 100755 --- a/tbc/views.py +++ b/tbc/views.py @@ -1415,7 +1415,7 @@ def link_image(request): context['success'] = True return render_to_response('tbc/link_image.html', context, context_instance=ci) -@login_required( login_url= "/admin") +@login_required(login_url="/login/") def admin_tools(request): ci = RequestContext(request) curr_user = request.user |