Azure-Samples / djangoapp

The polls app from the official Django tutorial, that demonstrates how to build data-driven Python apps in Azure App Service.
MIT License
56 stars 426 forks source link

Remove DJANGO_ENV in favor of WEBSITE_HOSTNAME #18

Closed kraigb closed 4 years ago

kraigb commented 4 years ago

WEBSITE_HOSTNAME is automatically defined in the Azure App Service container, so it can be used to trigger loading of App Service production settings.

This change simplifies the steps in the associated tutorials.