Django

Code

Changeset 2782

Show
Ignore:
Timestamp:
04/28/06 20:54:26 (2 years ago)
Author:
adrian
Message:

magic-removal: Proofread docs/middleware.txt

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • django/branches/magic-removal/docs/middleware.txt

    r2527 r2782  
    2525    MIDDLEWARE_CLASSES = ( 
    2626        "django.middleware.common.CommonMiddleware", 
     27        "django.contrib.sessions.middleware.SessionMiddleware", 
     28        "django.contrib.auth.middleware.AuthenticationMiddleware", 
    2729        "django.middleware.doc.XViewMiddleware", 
    2830    ) 
     
    103105.. _`session documentation`: http://www.djangoproject.com/documentation/sessions/ 
    104106 
     107django.contrib.auth.middleware.AuthenticationMiddleware 
     108------------------------------------------------------- 
     109 
     110Adds the ``user`` attribute, representing the currently-logged-in user, to 
     111every incoming ``HttpRequest`` object. See `Authentication in Web requests`_. 
     112 
     113.. _Authentication in Web requests: http://www.djangoproject.com/documentation/authentication/#authentication-in-web-requests 
     114 
    105115django.middleware.transaction.TransactionMiddleware 
    106116--------------------------------------------------- 
     
    118128 
    119129.. _`transaction management documentation`: http://www.djangoproject.com/documentation/transaction/ 
    120  
    121130 
    122131Writing your own middleware