can't access Django admin site

Posted March 20, 2021 2.2k views
PythonDjangoPython FrameworksDevelopmentDigitalOcean App Platform

Hi, I followed your tutorial and everything looks good but admin site, which I cannot access, can you help me to solve this issue?

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
6 answers

Got this! thanks to do support help we identified that the app routing is wrong in the tutorial when its setup on app platform to the domain/appname the you cannot access /admin, I’ve have changed temporary to just domain/ and it works. br, Kris

Hi there,

Would you mind sharing the exact error that you are getting?

If you are getting a white screen only, I could suggest checking your browser’s web console as well.

Feel free to share the errors here.

Hi Bobby!

thx for the rapid response!

the problem it self is that in general cant access admin path, I have URL generated by Web Service component eg. and it works fine but when I type it takes me to and its empty: <html><head></head><body data-new-gr-c-s-loaded=“9.29.0”></body></html>

I suppose that is the matter of the routing URLs, but Im not really experienced in this.

br, Kris!

unfortunately doesnt work still the same effect :( when accessing /app/admin redirect me to /admin with blank page.

but thanks for tips.

br, Kris

Yes I did, this app works locally, and there is no other interface but admin site. I will try to follow tutorial once again and will see.

Br, Kris

I gave up! following this tutorial you cant access django admin page after you deploy app to the app platform, have tried several times with my app and also building from scratch. Somethings wrong in this steps, few of them seems to be outdated to the current platform functions.

Unfortunately there is no other dijango tutorial for do app platform, need to look for another platform.

br, Kris