django.contrib.auth has changed

Error was: cannot import name SESSION_KEY
. A quick tip to anyone who got this error after a recent django/trunk update. You no longer need to
from django.contrib.auth.models import SESSION_KEY
and there are some new django.contrib.auth methods like "login()" and "authenticate()". The Authentication docs have been updated to reflect this, but I found it easier to just read the changes. It looks like there was also a lot of work done on multiple authentication backends.

Hopefully this will help anyone who's site broke after the latest svn update.





Powered by Django.