question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Cannot access Django admin panel in a Heroku deployment

See original GitHub issue

How to reproduce the behaviour

The FAQ describes how to create a user via the Django admin panel for a locally hosted Doccano. When run locally, I have no problem to reach the admin panel on http://localhost:8000/admin/, in Heroku however it is not working.

I have tried to reach it on

  • https://mydeployment.herokuapp.com/admin/
  • https://mydeployment.herokuapp.com/admin/login
  • https://mydeployment.herokuapp.com/admin/login/
  • http://mydeployment.herokuapp.com/admin/

Those urls all result in a 500 Internal Server Error. Am I missing something here, or is this perhaps a bug?

Your Environment

  • Operating System: -
  • Python Version Used: -
  • When did you install doccano: A few days ago
  • How did you install doccano (Heroku button etc): Heroku button

Issue Analytics

  • State:closed
  • Created a year ago
  • Reactions:4
  • Comments:8 (2 by maintainers)

github_iconTop GitHub Comments

4reactions
MatteusTcommented, Apr 26, 2022

Having the exact same problem, and cannot see anything in the logs as it is an internal error

0reactions
Hironsancommented, Jul 14, 2022
Read more comments on GitHub >

github_iconTop Results From Across the Web

python - Cannot Log in to Django Admin Interface with Heroku ...
Kind of a strange question, but I cannot login to my admin interface with a Heroku deployed Django app. Whenever I enter in...
Read more >
Cannot Log in to Django Admin Interface with Heroku ...
Django : Cannot Log in to Django Admin Interface with Heroku Deployed App [ Beautify Your Computer ...
Read more >
Getting Started on Heroku with Python
A step-by-step guide for deploying your first Python app and mastering the basics of Heroku.
Read more >
Migrating your Django Project to Heroku - Real Python
Update settings.py · DEBUG = False · # Allow all host hosts/domain names for this site ALLOWED_HOSTS = ['*'] # Parse database configuration...
Read more >
Error after deploying Django in Heroku
I just deployed my sentiment analysis django app to heroku. The deployment was successful and I can access the features like login register ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found