After a long absence, I tried my installation of the tutorial and got:

Error importing middleware django.middleware.sessions

My settings.py  has:
MIDDLEWARE _CLASSES = {
       "django.middleware.sessions.SessionMiddleware",
       ...

I change this to :
MIDDLEWARE _CLASSES = {
    "django.contrib.sessions.middleware.SessionMiddleware",
    ...

And all is fine.

Should 'sessions' be in middleware or contrib ??

Karl


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to