codespaces-django icon indicating copy to clipboard operation
codespaces-django copied to clipboard

CSRF checking fails for /admin on new projects

Open ethanolj opened this issue 2 years ago • 2 comments

After creating a new project using django-admin startproject, CSRF checking fails for /admin.

This relates to the default project fixed under #8

ethanolj avatar Jun 19 '23 03:06 ethanolj

Interestingly, this issue seems to be specific to CodeSpaces. When cloning the project to a local machine, everything functions perfectly. I attempted to address it by adding 'localhost' to the list of Trusted Origins, but unfortunately, it did not resolve the issue within CodeSpaces. However, when I tested it on my local development environment, there were no further CSRF errors related to the issue mentioned above.

snipher-marube avatar Oct 27 '23 13:10 snipher-marube

Uploading 1048184-beautiful-pacman-wallpaper-1920x1200-large-resolution.jpg…

Pasko121 avatar Jan 21 '24 23:01 Pasko121