From 95ed07e888cfe36fd7138b15ac7cb157194c0b1c Mon Sep 17 00:00:00 2001 From: Luke Plant Date: Sat, 7 Feb 2009 18:06:32 +0000 Subject: [PATCH] Fixed some function name errors in code doc. git-svn-id: http://code.djangoproject.com/svn/django/trunk@9816 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- django/contrib/csrf/middleware.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/django/contrib/csrf/middleware.py b/django/contrib/csrf/middleware.py index 30cb8caa5e..bca01809e3 100644 --- a/django/contrib/csrf/middleware.py +++ b/django/contrib/csrf/middleware.py @@ -154,7 +154,7 @@ def csrf_exempt(view_func): Marks a view function as being exempt from the CSRF checks and post processing. - This is the same as using both the csrf_exempt_view and - csrf_exempt_response decorators. + This is the same as using both the csrf_view_exempt and + csrf_response_exempt decorators. """ return csrf_response_exempt(csrf_view_exempt(view_func))