#4218: Transactions: Middleware hook at the top
---------------------------+------------------------------------------------
Reporter:  Thomas Güttler  |       Owner:  jacob        
  Status:  new             |   Component:  Documentation
 Version:  SVN             |    Keywords:               
   Stage:  Unreviewed      |   Has_patch:  0            
---------------------------+------------------------------------------------
 Hi,
 
 http://www.djangoproject.com/documentation/transactions/
 
 """
 MIDDLEWARE_CLASSES = (
     'django.contrib.sessions.middleware.SessionMiddleware',
     'django.middleware.common.CommonMiddleware',
     'django.middleware.cache.CacheMiddleware',
     'django.middleware.transaction.TransactionMiddleware',
 )
 The order is quite important. The transaction middleware applies not only
 to view functions, but also for all middleware modules that come after it.
 """
 
 I guess most people want that the sessions are part of the transaction. I
 think
 'django.middleware.transaction.TransactionMiddleware' should be at the top
 of the list.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/4218>
Django Code <http://code.djangoproject.com/>
The web framework for perfectionists with deadlines
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to