SHARE
TWEET

Untitled

a guest Feb 4th, 2016 84 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. def login_view(request):
  2.     if request.method=="POST":
  3.         username = request.POST.get('username')
  4.         password = request.POST.get('password')
  5.         print "username:",username,"password",password
  6.         return login_user(request, username, password)
  7.     return render(request, 'ncqs/login.html')
  8.    
  9. LOGIN_URL = '/ncqs/login'
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top