Author: lukeplant
Date: 2009-09-22 16:21:51 -0500 (Tue, 22 Sep 2009)
New Revision: 11590

Modified:
   django/trunk/django/utils/decorators.py
Log:
Fixed typo in docstring for decorator_from_middleware_with_args.

Thanks for the report, kmike



Modified: django/trunk/django/utils/decorators.py
===================================================================
--- django/trunk/django/utils/decorators.py     2009-09-22 21:21:45 UTC (rev 
11589)
+++ django/trunk/django/utils/decorators.py     2009-09-22 21:21:51 UTC (rev 
11590)
@@ -41,7 +41,7 @@
     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)


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to