diff options
| author | Luke Plant <L.Plant.98@cantab.net> | 2009-02-07 18:06:32 +0000 |
|---|---|---|
| committer | Luke Plant <L.Plant.98@cantab.net> | 2009-02-07 18:06:32 +0000 |
| commit | 95ed07e888cfe36fd7138b15ac7cb157194c0b1c (patch) | |
| tree | ee45b2ab8f0a67fb86b9851f6104bbfcf7bdcbde | |
| parent | 9a2e33810789017dfb2cbe46afa01f3f45357757 (diff) | |
Fixed some function name errors in code doc.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9816 bcc190cf-cafb-0310-a4f2-bffc1f526a37
| -rw-r--r-- | django/contrib/csrf/middleware.py | 4 |
1 files 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)) |
