Explorar o código

Fixed #12795 - Updated the middleware docs to include the messages app middleware. Thanks, Timo.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@12465 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Jannis Leidel %!s(int64=15) %!d(string=hai) anos
pai
achega
1559f64549
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      docs/topics/http/middleware.txt

+ 1 - 0
docs/topics/http/middleware.txt

@@ -31,6 +31,7 @@ created by :djadmin:`django-admin.py startproject <startproject>`::
         'django.contrib.sessions.middleware.SessionMiddleware',
         'django.middleware.csrf.CsrfViewMiddleware',
         'django.contrib.auth.middleware.AuthenticationMiddleware',
+        'django.contrib.messages.middleware.MessageMiddleware,
     )
 
 During the request phases (:meth:`process_request` and :meth:`process_view`