Changes between Version 31 and Version 32 of RemovingTheMagic


Ignore:
Timestamp:
Jan 8, 2006, 12:32:15 PM (19 years ago)
Author:
Adrian Holovaty
Comment:

Added "Moved Session model and middleware from core to django.contrib"

Legend:

Unmodified
Added
Removed
Modified
  • RemovingTheMagic

    v31 v32  
    330330See http://groups.google.com/group/django-developers/browse_thread/thread/276d071a74543448/7d4b1c40c2d53393
    331331
     332== Moved Session model and middleware from core to django.contrib ==
     333
     334'''Status: Done'''
     335
     336The location of the session middleware has changed.
     337
     338 * Old: {{{django.middleware.sessions.SessionMiddleware}}}
     339 * New: {{{django.contrib.sessions.middleware.SessionMiddleware}}}
     340
     341Make sure to update your {{{MIDDLEWARE_CLASSES}}} setting, if you're using sessions.
     342
     343Also, the {{{Session}}} model has moved from django/models/core.py to django/contrib/sessions/models.py. If you're accessing the {{{Session}}} model for some reason, note that location change.
     344
    332345== Change subclassing syntax ==
    333346
Back to Top