codespaces-django
codespaces-django copied to clipboard
CSRF checking fails for /admin on new projects
After creating a new project using django-admin startproject, CSRF checking fails for /admin.
This relates to the default project fixed under #8
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.