Cleaning up pep8 violations
This commit is contained in:
@@ -60,6 +60,7 @@ def csrf_response_exempt(view_func):
|
||||
PendingDeprecationWarning)
|
||||
return view_func
|
||||
|
||||
|
||||
def csrf_view_exempt(view_func):
|
||||
"""
|
||||
Marks a view function as being exempt from CSRF view protection.
|
||||
@@ -68,6 +69,7 @@ def csrf_view_exempt(view_func):
|
||||
PendingDeprecationWarning)
|
||||
return csrf_exempt(view_func)
|
||||
|
||||
|
||||
def csrf_exempt(view_func):
|
||||
"""
|
||||
Marks a view function as being exempt from the CSRF view protection.
|
||||
|
||||
Reference in New Issue
Block a user