Skip to content

Commit 3645f70

Browse files
committed
fix formatting
1 parent f29f71e commit 3645f70

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

articles/app-service/containers/tutorial-python-postgresql-app.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,10 @@ Like many Python web frameworks, Django [requires certain changes before they ca
4949

5050
Take a look at *azuresite/production.py*, which makes the necessary configuration for App Service. It's added for convenience but not yet used by the app. Briefly, it does the following:
5151

52-
- Inherit all settings from *azuresite/settings.py*.
53-
- Add the fully qualified domain name of the App Service app to the allowed hosts.
54-
- Use [WhiteNoise](https://whitenoise.evans.io/en/stable/) to enable serving static files in production, because Django by default doesn't serve static files in production. The WhiteNoise package is already included in *requirements.txt*.
55-
- Add configuration for PostgreSQL database. By default, Django uses Sqlite3 as the database, but it's not suitable for production apps. The [psycopg2-binary](https://pypi.org/project/psycopg2-binary/) package is already included in *requirements.txt*.
52+
- Inherit all settings from *azuresite/settings.py*.
53+
- Add the fully qualified domain name of the App Service app to the allowed hosts.
54+
- Use [WhiteNoise](https://whitenoise.evans.io/en/stable/) to enable serving static files in production, because Django by default doesn't serve static files in production. The WhiteNoise package is already included in *requirements.txt*.
55+
- Add configuration for PostgreSQL database. By default, Django uses Sqlite3 as the database, but it's not suitable for production apps. The [psycopg2-binary](https://pypi.org/project/psycopg2-binary/) package is already included in *requirements.txt*.
5656

5757
Make the following changes to your app so that it uses *azuresite/production.py* when in App Service.
5858

0 commit comments

Comments
 (0)