From 0a7dc8d59087550c17ec5b9652fdea1a8b9b67b9 Mon Sep 17 00:00:00 2001 From: Luke Plant Date: Tue, 22 Sep 2009 21:21:51 +0000 Subject: [PATCH] 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 --- django/utils/decorators.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/django/utils/decorators.py b/django/utils/decorators.py index 3d616f2627..c22c01ac09 100644 --- a/django/utils/decorators.py +++ b/django/utils/decorators.py @@ -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)