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") --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---