andrew
unread,May 11, 2009, 9:24:31 AM5/11/09Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Django users
Hi,all
I'm designing a series of admin pages that only one admin can
logon ,I think there is no need to setup a single table to store only
one entry which contain "name""password" .
So , I think ,is this way safe enough to ensure secure my admin
access?
def login_admin(request):
if request.method == 'POST':
if(request.POST['input']=='Some code only I know'):
seesion['auth']='True'
else:
render_to_response("login_admin.html")
else:
render_to_response("login_admin.html")