Django and PostgreSQL sample for Azure App Service

Last updated: 11/29/2018
Edit on GitHub

This is a sample application that you can use to follow along with the tutorial at Build a Python and PostgreSQL web app in Azure App Service.

The sample is a simple Python Django application that connects to a PostgreSQL database.

The database connection information is specified via environment variables DBHOST, DBPASS, DBUSER, and DBNAME. This app always uses the default PostgreSQL port.


This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact with any additional questions or comments.