pulumi-django-azure 1.0.41__tar.gz → 1.0.42__tar.gz

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.

@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pulumi-django-azure
3
- Version: 1.0.41
3
+ Version: 1.0.42
4
4
  Summary: Simply deployment of Django on Azure with Pulumi
5
5
  License-Expression: MIT
6
6
  Keywords: django,pulumi,azure
@@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api"
4
4
 
5
5
  [project]
6
6
  name = "pulumi-django-azure"
7
- version = "1.0.41"
7
+ version = "1.0.42"
8
8
  description = "Simply deployment of Django on Azure with Pulumi"
9
9
  readme = "README.md"
10
10
  authors = [{ name = "Maarten Ureel", email = "maarten@youreal.eu" }]
@@ -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