Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def login_view(request):
- if request.method=="POST":
- username = request.POST.get('username')
- password = request.POST.get('password')
- print "username:",username,"password",password
- return login_user(request, username, password)
- return render(request, 'ncqs/login.html')
- LOGIN_URL = '/ncqs/login'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement