django-resonant-settings 0.43.0__py3-none-any.whl → 0.43.1__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: django-resonant-settings
3
- Version: 0.43.0
3
+ Version: 0.43.1
4
4
  Summary: Shared Django settings for Resonant applications.
5
5
  Project-URL: Repository, https://github.com/kitware-resonant/cookiecutter-resonant
6
6
  Project-URL: Bug Reports, https://github.com/kitware-resonant/cookiecutter-resonant/issues
@@ -20,11 +20,11 @@ resonant_settings/development/celery.py,sha256=lEuXJdWea0-EE09EbejEwNjHOLXTvtHQ6
20
20
  resonant_settings/development/debug_toolbar.py,sha256=kIapv6Jkpf205M5i33IyqnAcijNd3ctwcv6W6B3cfsc,510
21
21
  resonant_settings/development/minio_storage.py,sha256=SlrnVDfm5YfjXcTpdPe2Pzbmw4wLSwWp7ryWoghk3Do,1345
22
22
  resonant_settings/production/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
23
- resonant_settings/production/email.py,sha256=6IwqC6yZqlKTsDfykB1xRzVBYfP4_qgOqVMDKvUAKkk,684
23
+ resonant_settings/production/email.py,sha256=TkiGaMq-7db7WfBeavYvBNt2nq0G9mneTUXRb13fo4Y,782
24
24
  resonant_settings/production/https.py,sha256=rACQoCN0bdUFRVtr-MJmMiOmk56qieZz24atn4rqUXg,884
25
25
  resonant_settings/production/s3_storage.py,sha256=rL05dCx49Xszwydp8i3QuRiP8dlxK0qnX55-0zn1rCQ,1468
26
- django_resonant_settings-0.43.0.dist-info/METADATA,sha256=E4qAifeSCf7jHzeWehV9uHQWa0cVMXbS4kIuB-32kKk,1792
27
- django_resonant_settings-0.43.0.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
28
- django_resonant_settings-0.43.0.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
29
- django_resonant_settings-0.43.0.dist-info/licenses/NOTICE,sha256=NU8vSqFl-Z30QJ2VOCAkStAVQon47sNgE3wwz-7nQSo,585
30
- django_resonant_settings-0.43.0.dist-info/RECORD,,
26
+ django_resonant_settings-0.43.1.dist-info/METADATA,sha256=KANAdMKMKXblbj-P5hqwBCTsvYzpnxANvk4KH4c7bRM,1792
27
+ django_resonant_settings-0.43.1.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
28
+ django_resonant_settings-0.43.1.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
29
+ django_resonant_settings-0.43.1.dist-info/licenses/NOTICE,sha256=NU8vSqFl-Z30QJ2VOCAkStAVQon47sNgE3wwz-7nQSo,585
30
+ django_resonant_settings-0.43.1.dist-info/RECORD,,
@@ -8,14 +8,19 @@ The following environment variables must be externally set:
8
8
  * `DJANGO_DEFAULT_FROM_EMAIL`, as the default From address for outgoing email.
9
9
  """
10
10
 
11
+ from typing import Any
12
+
11
13
  from resonant_settings._env import env
12
14
 
13
- vars().update(env.email_url("DJANGO_EMAIL_URL"))
15
+ email_config: dict[str, Any] = env.email_url("DJANGO_EMAIL_URL")
16
+ globals().update(email_config)
14
17
 
15
18
  DEFAULT_FROM_EMAIL: str = env.str("DJANGO_DEFAULT_FROM_EMAIL")
16
19
  SERVER_EMAIL = DEFAULT_FROM_EMAIL
17
20
 
21
+
18
22
  __all__ = [
23
+ *email_config.keys(),
19
24
  "DEFAULT_FROM_EMAIL",
20
25
  "SERVER_EMAIL",
21
26
  ]