diff options
author | mahesh | 2016-04-01 10:49:48 +0530 |
---|---|---|
committer | mahesh | 2016-04-01 10:49:48 +0530 |
commit | f814f1c122c29bed0530fa251f361bf9e59b902c (patch) | |
tree | 50fbd5e9db3fa63304ad0ae288db716c4a574101 | |
parent | 806108aca8fa91849bf10020934dd5d990d3bd50 (diff) | |
download | Python-TBC-Interface-f814f1c122c29bed0530fa251f361bf9e59b902c.tar.gz Python-TBC-Interface-f814f1c122c29bed0530fa251f361bf9e59b902c.tar.bz2 Python-TBC-Interface-f814f1c122c29bed0530fa251f361bf9e59b902c.zip |
added admin_tool serving as a parent page to access admin-tool apps
-rwxr-xr-x | tbc/views.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tbc/views.py b/tbc/views.py index 9e3a2e7..de905d1 100755 --- a/tbc/views.py +++ b/tbc/views.py @@ -1413,3 +1413,11 @@ def link_image(request): chapter.save() context['success'] = True return render_to_response('tbc/link_image.html', context, context_instance=ci) + +def admin_tools(request): + ci = RequestContext(request) + user = request.user + context = {"user":user} + return render_to_response('tbc/admin-tools.html', context, context_instance=ci) + + |