CSRF cookies not set: Django

alooma

Newbie
Joined
Dec 14, 2023
Messages
24
Reaction score
5
I'm currently building an application using Django, but anytime I perform a Post request I got this error on my local PC example.com:8000.
Note I've a chrome account that the request work perfectly but on my other chrome account it's not working and I'm trying to transfer the site to another PC. But I'm stuck due the the CSRF error but on my old chrome account it's working. And my code is correct, everything is well set.
Pls I need you guys help on fixing the error.
 
Is the csrf token set inside the form? Do inspect element and look inside the form element.
 
Back
Top