File tree 4 files changed +9
-1
lines changed
4 files changed +9
-1
lines changed Original file line number Diff line number Diff line change 6
6
[ Microsoft Entra ID] ( https://www.microsoft.com/security/business/microsoft-entra )
7
7
to sign in users and make authenticated calls to the Microsoft Graph API.
8
8
9
+ ![ Topology] ( static/topology.png )
9
10
10
11
## Getting Started
11
12
@@ -23,7 +24,7 @@ to sign in users and make authenticated calls to the Microsoft Graph API.
23
24
[ its repo] ( https://github.com/Azure-Samples/ms-identity-python-webapp-django )
24
25
or download its zip package, and then start using it or build on top of it.
25
26
(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.)
27
28
2 . ` cd project_name `
28
29
3 . Run ` pip install -r requirements.txt ` to install dependencies
29
30
4 . Run ` python manage.py migrate ` to initialize your Django project
Original file line number Diff line number Diff line change 134
134
135
135
STATIC_URL = 'static/'
136
136
137
+ STATICFILES_DIRS = [
138
+ BASE_DIR / "static" ,
139
+ ]
140
+
137
141
# Default primary key field type
138
142
# https://docs.djangoproject.com/en/4.2/ref/settings/#default-auto-field
139
143
Original file line number Diff line number Diff line change 8
8
< h1 > Microsoft Entra ID Django Web App Sample {{version}}</ h1 >
9
9
< h2 > Welcome {{ user.name }}!</ h2 >
10
10
11
+ {% load static %}
12
+ < img src ="{% static 'topology.png' %} " alt ="Topology ">
13
+
11
14
< ul >
12
15
{% if downstream_api %}
13
16
< li > < a href ='/call_downstream_api '> Call a downstream API</ a > </ li >
You can’t perform that action at this time.
0 commit comments