diff options
| author | Luke Plant <L.Plant.98@cantab.net> | 2009-09-22 21:21:51 +0000 |
|---|---|---|
| committer | Luke Plant <L.Plant.98@cantab.net> | 2009-09-22 21:21:51 +0000 |
| commit | 0a7dc8d59087550c17ec5b9652fdea1a8b9b67b9 (patch) | |
| tree | 5e9e10e830298051b2e1d52b40bd8c38fdd1b195 | |
| parent | 724c926b823e2f0f8605e41e8d9763443975c81b (diff) | |
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
| -rw-r--r-- | django/utils/decorators.py | 2 |
1 files changed, 1 insertions, 1 deletions
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) |
