Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CSRF checking fails for /admin on new projects #24

Open
ethanolj opened this issue Jun 19, 2023 · 2 comments
Open

CSRF checking fails for /admin on new projects #24

ethanolj opened this issue Jun 19, 2023 · 2 comments

Comments

@ethanolj
Copy link

ethanolj commented Jun 19, 2023

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

This relates to the default project fixed under #8

@snipher-marube
Copy link
Contributor

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.

@Pasko121
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants