5 lines
142 B
Python
5 lines
142 B
Python
|
def csrf_exempt(func):
|
||
|
"""Mark a view as not requiring CSRF verification on POST requests."""
|
||
|
func.csrf_exempt = True
|
||
|
return func
|