File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 66[ Microsoft Entra ID] ( https://www.microsoft.com/security/business/microsoft-entra )
77to sign in users and make authenticated calls to the Microsoft Graph API.
88
9+ ![ Topology] ( static/topology.png )
910
1011## Getting Started
1112
@@ -23,7 +24,7 @@ to sign in users and make authenticated calls to the Microsoft Graph API.
2324 [ its repo] ( https://github.com/Azure-Samples/ms-identity-python-webapp-django )
2425 or download its zip package, and then start using it or build on top of it.
2526 (Alternatively, you can follow our [ tutorial] ( #tutorial ) to learn
26- how to build this from scratch, or how to add auth to your existing project.
27+ how to build this from scratch, or how to add auth to your existing project.)
27282 . ` cd project_name `
28293 . Run ` pip install -r requirements.txt ` to install dependencies
29304 . Run ` python manage.py migrate ` to initialize your Django project
Original file line number Diff line number Diff line change 134134
135135STATIC_URL = 'static/'
136136
137+ STATICFILES_DIRS = [
138+ BASE_DIR / "static" ,
139+ ]
140+
137141# Default primary key field type
138142# https://docs.djangoproject.com/en/4.2/ref/settings/#default-auto-field
139143
Original file line number Diff line number Diff line change 88 < h1 > Microsoft Entra ID Django Web App Sample {{version}}</ h1 >
99 < h2 > Welcome {{ user.name }}!</ h2 >
1010
11+ {% load static %}
12+ < img src ="{% static 'topology.png' %} " alt ="Topology ">
13+
1114 < ul >
1215 {% if downstream_api %}
1316 < li > < a href ='/call_downstream_api '> Call a downstream API</ a > </ li >
You can’t perform that action at this time.
0 commit comments