What do you want to save?
Add Code snippet
New code examples
-
Python 2021-08-27 16:54:01
django forbidden (csrf cookie not set.)
# Error: forbidden (csrf cookie not set.) # ------------------------- SOLUTIONS ----------------------------- # 1º - In your views.py file: def funtion(request): var = request.POST['name_from_element'] #instead of GET ... 2º -... Add solution
Best helpers
TheShade
+5
Auntkym
+5
Mostafa 36a2
+5
Rodrigorgs
+5
Matt2507864
+5
Arnav Bose
+5
Waldrumpus
+5
Piquet
+5
Holyeyeolo
+5
Babak
+5
Ohhh
+5
Jeff Sours
+5
Jim Mourgos
+5
J. Marks
+5