You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I don't think we even realized there was an admin for this (we don't really do much Django work as you can imagine). Would love a PR for it if you have time!
Ah, Django's big selling point is its ORM and auto-generated admin for it, so yup, it's a good thing to get working. I've made the PR at #8
Unfortunately, it won't work in the embedded browser window thats configured for this Codespace, since that seems to disable cookies, but will work in a proper external window.
Sorry to open this up again. I have a similar issue even with the fix. I tried it in an external browser but still got the origin error. CSFR token is sent with the request.
@deepskydata - I just troubleshooted the same, after creating a new Django project using django-admin startproject. I opened #24 for this issue, however the #8 fix can be applied in the new project's settings.py file manually as a work-around.
Activity
bdmac commentedon Nov 17, 2022
I don't think we even realized there was an admin for this (we don't really do much Django work as you can imagine). Would love a PR for it if you have time!
pamelafox commentedon Nov 17, 2022
Ah, Django's big selling point is its ORM and auto-generated admin for it, so yup, it's a good thing to get working. I've made the PR at #8
Unfortunately, it won't work in the embedded browser window thats configured for this Codespace, since that seems to disable cookies, but will work in a proper external window.
pamelafox commentedon Nov 18, 2022
Fixed via #8
deepskydata commentedon Jun 15, 2023
Sorry to open this up again. I have a similar issue even with the fix. I tried it in an external browser but still got the origin error. CSFR token is sent with the request.
Should I open a new issue?
ethanolj commentedon Jun 19, 2023
@deepskydata - I just troubleshooted the same, after creating a new Django project using
django-admin startproject. I opened #24 for this issue, however the #8 fix can be applied in the new project's settings.py file manually as a work-around.