Django app deployed on Azure not connecting to Database

Ian Grundling 5 Reputation points
2024-12-09T08:00:24.04+00:00

Hi all,

I am facing issues deploying a Django app on Azure, the deployment builds and runs successfully, when I do python manage.py migrate the database migrate, then I create a user and try to sign in then I get server 500. I have done some troubleshooting already and saw that the Django app is not connecting to the database.

Azure Database for PostgreSQL

1 answer

Sort by: Most helpful
  1. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.

    1 deleted comment

    Comments have been turned off. Learn more

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.