Django automatic login after user registration (1.4)
问题 I have an issue where I am successfully registering users - however, I want users to be logged in on registration. Here is the code that represents my registration view. Any thoughts on why the user is not auto-logged in? Notes: The user is being registered correctly, they can log in after this authenticate(**kwargs) is returning the correct user In settings.py I have: AUTHENTICATION_BACKENDS = ('django.contrib.auth.backends.ModelBackend',) Thanks! def register(request): user_creation_form =