Skip to content

Azure-Samples/msdocs-python-django-webapp-quickstart

Repository files navigation

Deploy a Python (Django) web app to Azure App Service - Sample Application

This is the sample Django application for the Azure Quickstart Deploy a Python (Django or Flask) web app to Azure App Service. For instructions on how to create the Azure resources and deploy the application to Azure, refer to the Quickstart article.

Sample applications are available for the other frameworks here:

If you need an Azure account, you can create one for free.

For local development

Fill in a secret value in the .env file.

For local development, use this random string as an appropriate value:

SECRET_KEY=123abc

When you deploy to Azure

For deployment to production, create an app setting, SECRET_KEY. Use this command to generate an appropriate value:

python -c 'import secrets; print(secrets.token_hex())'

About

No description, website, or topics provided.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published