pulumi-django-azure 1.0.41__py3-none-any.whl → 1.0.42__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of pulumi-django-azure might be problematic. Click here for more details.
- pulumi_django_azure/settings.py +5 -5
- {pulumi_django_azure-1.0.41.dist-info → pulumi_django_azure-1.0.42.dist-info}/METADATA +1 -1
- {pulumi_django_azure-1.0.41.dist-info → pulumi_django_azure-1.0.42.dist-info}/RECORD +4 -4
- {pulumi_django_azure-1.0.41.dist-info → pulumi_django_azure-1.0.42.dist-info}/WHEEL +0 -0
pulumi_django_azure/settings.py
CHANGED
|
@@ -172,14 +172,14 @@ if DJANGO_TASKS and REDIS_SIDECAR:
|
|
|
172
172
|
}
|
|
173
173
|
|
|
174
174
|
|
|
175
|
-
def patch_django_settings_for_azure():
|
|
175
|
+
def patch_django_settings_for_azure(INSTALLED_APPS: list, MIDDLEWARE: list, TEMPLATES: list):
|
|
176
176
|
"""
|
|
177
177
|
Patch the Django settings to add the required apps and middleware.
|
|
178
|
-
"""
|
|
179
|
-
global INSTALLED_APPS
|
|
180
|
-
global MIDDLEWARE
|
|
181
|
-
global TEMPLATES
|
|
182
178
|
|
|
179
|
+
:param INSTALLED_APPS: Reference to INSTALLED_APPS setting.
|
|
180
|
+
:param MIDDLEWARE: Reference to MIDDLEWARE setting.
|
|
181
|
+
:param TEMPLATES: Reference to TEMPLATES setting.
|
|
182
|
+
"""
|
|
183
183
|
# Insert collectfasta at the correct position
|
|
184
184
|
INSTALLED_APPS.insert(INSTALLED_APPS.index("django.contrib.staticfiles"), "collectfasta")
|
|
185
185
|
|
|
@@ -7,7 +7,7 @@ pulumi_django_azure/management/commands/purge_cache.py,sha256=yjMoNvEPFmtuZctOKX
|
|
|
7
7
|
pulumi_django_azure/management/commands/purge_cdn.py,sha256=8iLuqjndvreTHXRp37sjpvcNltdGTpwhY9YiQokS_P0,2095
|
|
8
8
|
pulumi_django_azure/management/commands/test_redis.py,sha256=_jQXmv48NSPVGrgGZTmASWm0WAWYhqt9HaE3XdJ22U4,10225
|
|
9
9
|
pulumi_django_azure/middleware.py,sha256=XykZAmilyCaZR_5mM950h2WI4053HRqr95LGV1p8uR0,2472
|
|
10
|
-
pulumi_django_azure/settings.py,sha256=
|
|
11
|
-
pulumi_django_azure-1.0.
|
|
12
|
-
pulumi_django_azure-1.0.
|
|
13
|
-
pulumi_django_azure-1.0.
|
|
10
|
+
pulumi_django_azure/settings.py,sha256=azqAwN6yp3T9WktaLnUIlQX1AV-FmUy-ohpsLzDBeNA,6621
|
|
11
|
+
pulumi_django_azure-1.0.42.dist-info/METADATA,sha256=-JZu6PTDuTHMgVFKFiTP8nV-aqdmb-40UH-TpX8Rukk,9750
|
|
12
|
+
pulumi_django_azure-1.0.42.dist-info/WHEEL,sha256=zp0Cn7JsFoX2ATtOhtaFYIiE2rmFAD4OcMhtUki8W3U,88
|
|
13
|
+
pulumi_django_azure-1.0.42.dist-info/RECORD,,
|
|
File without changes
|