Skip to content

Commit 31f39b5

Browse files
authored
Merge pull request #2 from vmagelo/working
Fixes to readme.md and base template.
2 parents 7737b5e + 67a11e6 commit 31f39b5

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Deploy a Flask web app with PostgreSQL in Azure
22

3-
This is a Python web app using the Flask framework and the Azure Database for PostgreSQL relational database service. The Flask app is hosted in a fully managed Azure App Service. This app is designed to be be run locally and then deployed to Azure. For more information on how to use this web app, see the tutorial [Deploy a Django/Flask web app with PostgreSQL in Azure](TBD).
3+
This is a Python web app using the Flask framework and the Azure Database for PostgreSQL relational database service. The Flask app is hosted in a fully managed Azure App Service. This app is designed to be be run locally and then deployed to Azure. For more information on how to use this web app, see the tutorial *Deploy a Django/Flask web app with PostgreSQL in Azure* (Link TBD).
44

5-
If you need an Azure account, you can [create on for free](https://azure.microsoft.com/en-us/free/).
5+
If you need an Azure account, you can [create on for free](https://azure.microsoft.com/free/).

azureproject/production.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import os
22

33
# SECURITY WARNING: keep the secret key used in production secret!
4-
SECRET_KEY = 'django-insecure-7ppocbnx@w71dcuinn*t^_mzal(t@o01v3fee27g%rg18fc5d@'
4+
SECRET_KEY = 'flask-insecure-7ppocbnx@w71dcuinn*t^_mzal(t@o01v3fee27g%rg18fc5d@'
55

66
DEBUG = False
77
ALLOWED_HOSTS = [os.environ['WEBSITE_HOSTNAME']] if 'WEBSITE_HOSTNAME' in os.environ else []

templates/base.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,11 @@
2222
<li class="nav-item dropdown">
2323
<a class="nav-link dropdown-toggle" href="#" id="dropdown07XL" data-bs-toggle="dropdown" aria-expanded="true">Azure Docs</a>
2424
<ul class="dropdown-menu" aria-labelledby="dropdown07XL" data-bs-popper="none">
25-
<li><a class="dropdown-item" target="_blank" href="https://docs.microsft.com/azure">Azure Docs Home</a></li>
26-
<li><a class="dropdown-item" target="_blank" href="#">Python Web App + Database Tutorial</a></li>
27-
<li><a class="dropdown-item" target="_blank" href="#">Configure Python on Azure</a></li>
28-
<li><a class="dropdown-item" target="_blank" href="https://docs.microsft.com/azure/developer/python">Python on Azure Developer Center</a></li>
29-
</ul>
25+
<li><a class="dropdown-item" target="_blank" href="https://docs.microsoft.com/azure">Azure Docs Home</a></li>
26+
<li><a class="dropdown-item" target="_blank" href="#">Python Web App + Database Tutorial</a></li>
27+
<li><a class="dropdown-item" target="_blank" href="https://azure.microsoft.com/develop/python/">Python on Azure</a></li>
28+
<li><a class="dropdown-item" target="_blank" href="https://docs.microsoft.com/azure/developer/python">Python on Azure Developer Center</a></li>
29+
</ul>
3030
</li>
3131
</ul>
3232
</div>

0 commit comments

Comments
 (0)