Opened 10 years ago
Closed 10 years ago
#24217 closed Uncategorized (fixed)
csrf_exempt is not working with django 1.7
Reported by: | Dhruv Agarwal | Owned by: | nobody |
---|---|---|---|
Component: | Uncategorized | Version: | 1.7 |
Severity: | Normal | Keywords: | |
Cc: | Triage Stage: | Unreviewed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
Earlier i was using django 1.6.1 and in my code i was using csrf_exempt decorator on some of my views.
Now i upgraded to django 1.7.1 but now csrf_exempt is not working.
It would be great if someone could tell me a solution for this
Change History (2)
comment:1 by , 10 years ago
comment:2 by , 10 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
I just pulled 1.7.1 and tried it, but csrf_exempt works for me.
csrf_exempt
, hitting submit brings me to the403 Forbidden
pagecsrf_exempt
, my submission went fine!Appreciate more details regarding this, e.g. source or something, or if someone else verifies this problem.