Skip to content

Instantly share code, notes, and snippets.

@chriskief

chriskief/signin.py

Last active Dec 26, 2015
Embed
What would you like to do?
if form.is_valid():
# ... logic to login the user ...
# redirect to a protected page
return HttpResponseRedirect(reverse('account'))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment