Commit 0a7dc8d5 authored by Luke Plant's avatar Luke Plant
Browse files

Fixed typo in docstring for decorator_from_middleware_with_args.

Thanks for the report, kmike



git-svn-id: http://code.djangoproject.com/svn/django/trunk@11590 bcc190cf-cafb-0310-a4f2-bffc1f526a37
parent 724c926b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -41,7 +41,7 @@ def decorator_from_middleware_with_args(middleware_class):
    that accepts the arguments to be passed to the middleware_class.
    Use like::

         cache_page = decorator_from_middleware(CacheMiddleware)
         cache_page = decorator_from_middleware_with_args(CacheMiddleware)
         # ...

         @cache_page(3600)