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