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:
Luke Plant 2009-09-22 21:21:51 +00:00
parent 724c926b82
commit 0a7dc8d590
1 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@ def decorator_from_middleware_with_args(middleware_class):
that accepts the arguments to be passed to the middleware_class. that accepts the arguments to be passed to the middleware_class.
Use like:: Use like::
cache_page = decorator_from_middleware(CacheMiddleware) cache_page = decorator_from_middleware_with_args(CacheMiddleware)
# ... # ...
@cache_page(3600) @cache_page(3600)