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
This commit is contained in:
parent
724c926b82
commit
0a7dc8d590
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue