Django: CSRF error ( Cookie not set)
Hi, i deployed my django project and i get CSRF ( Cookie not set ), i tried many options to solve this but none of them worked. It works in localhost, i'm worry about that, because it was working before, i just added whitenoise and everything just stopped working on the server, i tried to remove it, but i still have this problem, i'll appreciate your help 😄
Solution:Jump to solution
this issue wouldn't relate directly to railway, please read the respective documentation.
https://docs.djangoproject.com/en/4.2/ref/csrf/
https://docs.djangoproject.com/en/4.2/howto/csrf/
https://whitenoise.readthedocs.io/en/latest/django.html...
3 Replies
Project ID:
878f4df6-2735-4002-9bee-e544dfb92554
ProjectID: 878f4df6-2735-4002-9bee-e544dfb92554
Solution
this issue wouldn't relate directly to railway, please read the respective documentation.
https://docs.djangoproject.com/en/4.2/ref/csrf/
https://docs.djangoproject.com/en/4.2/howto/csrf/
https://whitenoise.readthedocs.io/en/latest/django.html