From c7ec89d3eef960780d10f68682d54ac768d2ceb5 Mon Sep 17 00:00:00 2001 From: hardythe1 Date: Fri, 23 Jan 2015 18:01:30 +0530 Subject: redirected to login page if not logged for old book submission --- tbc/templates/tbc/login.html | 14 +++++++++++--- tbc/views.py | 10 +++++++--- 2 files changed, 18 insertions(+), 6 deletions(-) (limited to 'tbc') diff --git a/tbc/templates/tbc/login.html b/tbc/templates/tbc/login.html index c3bbfab..869cf8d 100755 --- a/tbc/templates/tbc/login.html +++ b/tbc/templates/tbc/login.html @@ -52,12 +52,20 @@ {% endif %} +{% if require_login %} +
The requested page requires login !
+The requsted page requires login.
- {% endif %}