{"repo":"Azure-Samples/msdocs-django-postgresql-sample-app","free":true,"listed":false,"github":"https://github.com/Azure-Samples/msdocs-django-postgresql-sample-app","clone":"git clone https://github.com/Azure-Samples/msdocs-django-postgresql-sample-app.git","description":"A sample Django app using PostgreSQL for the Azure App Service Web App + Database tutorial","language":"Bicep","stars":72,"topics":["azd-templates","azure","django","postgresql","python"],"license":"MIT","category":"databases-storage","readme_excerpt":"--- page type: sample languages: - azdeveloper - python - bicep - html products: - azure - azure-app-service - azure-database-postgresql - azure-virtual-network urlFragment: msdocs-django-postgresql-sample-app name: Deploy a Python (Django) web app with PostgreSQL in Azure description: This is a Python web app using the Django framework and the Azure Database for PostgreSQL relational database service. --- Deploy a Python (Django) web app with PostgreSQL in Azure This is a Python web app using the Django framework and the Azure Database for PostgreSQL relational database service. The Django app is hosted in a fully managed Azure App Service. This app is designed to be be run locally and then deployed to Azure. You can either deploy this project by following the tutorial Deploy a Python (Django or Flask) web app with PostgreSQL in Azure or by using the Azure Developer CLI (azd) according to the instructions below. Additionally, the sample application demonstrates Azure Managed Redis access by caching the restaurant details page for 60 seconds. You can add the Azure Managed Redis integration in the secure-by-default web app + database creation wizard, and it's also included in the AZD template. Requirements The requirements.txt has the following packages, all used by a typical data-driven Django application: Package Description ------- ----------- Django Web application framework. pyscopg2-binary PostgreSQL database adapter for Python. python-dotenv Read key-value pairs from .e","default_branch":null,"files":null,"tree":[],"storefront":"/r/Azure-Samples","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Azure-Samples/msdocs-django-postgresql-sample-app/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}