Skip to content

Commit 1bed489

Browse files
author
Bryce Chen
committed
fix doc links
1 parent 323c9d7 commit 1bed489

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

articles/service-connector/tutorial-django-webapp-postgres-cli.md

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ ms.date: 09/10/2024
1414
> [!NOTE]
1515
> In this tutorial, you use Service Connector that simplifies the process of connecting a web app to a database service. This tutorial is a modification of the [App Service tutorial](../app-service/tutorial-python-postgresql-app.md), so you may see some similarities. Look into section [Create a passwordless connector to Postgres database](#create-a-passwordless-connector-to-postgres-database) to see where Service Connector comes into play and simplifies the connection process given in the App Service tutorial.
1616
17-
This tutorial shows how to deploy a data-driven Python [Django](https://www.djangoproject.com/) web app to [Azure App Service](overview.md) and connect it to an [Azure Database for PostgreSQL Flexible server](/azure/postgresql/flexible-server/) database.
17+
This tutorial shows how to deploy a data-driven Python [Django](https://www.djangoproject.com/) web app to [Azure App Service](/azure/app-service/overview.md) and connect it to an [Azure Database for PostgreSQL Flexible server](/azure/postgresql/flexible-server/overview.md) database.
1818

1919
In this tutorial, you use the Azure CLI to complete the following tasks:
2020

@@ -29,7 +29,7 @@ In this tutorial, you use the Azure CLI to complete the following tasks:
2929
## Set up your initial environment
3030

3131
### [CloudShell](#tab/cloudshell)
32-
Lauch from [Azure Cloud Shell](https://learn.microsoft.com/en-us/azure/cloud-shell/overview) from the Azure Portal and install the service connector passwordless extension for Azure CLI.
32+
Lauch from [Azure Cloud Shell](/azure/cloud-shell/overview.md) from the Azure Portal and install the service connector passwordless extension for Azure CLI.
3333

3434
```terminal
3535
az extension add --name serviceconnector-passwordless --upgrade
@@ -79,9 +79,6 @@ Open a terminal window in that *serviceconnector-webapp-postgresql-django-passwo
7979

8080
In this tutorial, you deploy a **[Django](https://www.djangoproject.com/)** web app to Azure App Service. The web app uses a system-assigned **[managed identity](/azure/active-directory/managed-identities-azure-resources/overview)** (passwordless connections) with Azure role-based access control to access [Azure Storage](/azure/storage/common/storage-introduction) and [Azure Database for PostgreSQL - Flexible Server](/azure/postgresql/flexible-server) resources. The code uses the [DefaultAzureCredential](/azure/developer/intro/passwordless-overview#introducing-defaultazurecredential) class of the [Azure Identity client library](/python/api/overview/azure/identity-readme) for Python. The `DefaultAzureCredential` class automatically detects that a managed identity exists for the App Service and uses it to access other Azure resources.
8181

82-
83-
The sample is also modified to run in a production environment like App Service:
84-
8582
* Production settings are in the *azuresite/production.py* file. Development settings are in *azuresite/settings.py*.
8683
* The app uses production settings when the `WEBSITE_HOSTNAME` environment variable is set. Azure App Service automatically sets this variable to the URL of the web app, such as `msdocs-django.azurewebsites.net`.
8784

0 commit comments

Comments
 (0)