open-api-framework 0.9.5__tar.gz → 0.9.6__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.
Files changed (36) hide show
  1. {open_api_framework-0.9.5 → open_api_framework-0.9.6}/CHANGELOG.rst +8 -0
  2. {open_api_framework-0.9.5/open_api_framework.egg-info → open_api_framework-0.9.6}/PKG-INFO +2 -2
  3. {open_api_framework-0.9.5 → open_api_framework-0.9.6}/README.rst +1 -1
  4. {open_api_framework-0.9.5 → open_api_framework-0.9.6}/open_api_framework/conf/base.py +6 -1
  5. {open_api_framework-0.9.5 → open_api_framework-0.9.6/open_api_framework.egg-info}/PKG-INFO +2 -2
  6. {open_api_framework-0.9.5 → open_api_framework-0.9.6}/pyproject.toml +2 -2
  7. {open_api_framework-0.9.5 → open_api_framework-0.9.6}/tests/test_generate_envvar_docs.py +2 -1
  8. {open_api_framework-0.9.5 → open_api_framework-0.9.6}/LICENSE +0 -0
  9. {open_api_framework-0.9.5 → open_api_framework-0.9.6}/MANIFEST.in +0 -0
  10. {open_api_framework-0.9.5 → open_api_framework-0.9.6}/open_api_framework/__init__.py +0 -0
  11. {open_api_framework-0.9.5 → open_api_framework-0.9.6}/open_api_framework/admin.py +0 -0
  12. {open_api_framework-0.9.5 → open_api_framework-0.9.6}/open_api_framework/apps.py +0 -0
  13. {open_api_framework-0.9.5 → open_api_framework-0.9.6}/open_api_framework/conf/__init__.py +0 -0
  14. {open_api_framework-0.9.5 → open_api_framework-0.9.6}/open_api_framework/conf/utils.py +0 -0
  15. {open_api_framework-0.9.5 → open_api_framework-0.9.6}/open_api_framework/context_processors.py +0 -0
  16. {open_api_framework-0.9.5 → open_api_framework-0.9.6}/open_api_framework/management/__init__.py +0 -0
  17. {open_api_framework-0.9.5 → open_api_framework-0.9.6}/open_api_framework/management/commands/__init__.py +0 -0
  18. {open_api_framework-0.9.5 → open_api_framework-0.9.6}/open_api_framework/management/commands/generate_envvar_docs.py +0 -0
  19. {open_api_framework-0.9.5 → open_api_framework-0.9.6}/open_api_framework/py.typed +0 -0
  20. {open_api_framework-0.9.5 → open_api_framework-0.9.6}/open_api_framework/static/open_api_framework/css/admin.css +0 -0
  21. {open_api_framework-0.9.5 → open_api_framework-0.9.6}/open_api_framework/templates/open_api_framework/admin/base_site.html +0 -0
  22. {open_api_framework-0.9.5 → open_api_framework-0.9.6}/open_api_framework/templates/open_api_framework/components/environment.html +0 -0
  23. {open_api_framework-0.9.5 → open_api_framework-0.9.6}/open_api_framework/templates/open_api_framework/components/version.html +0 -0
  24. {open_api_framework-0.9.5 → open_api_framework-0.9.6}/open_api_framework/templates/open_api_framework/env_config.rst +0 -0
  25. {open_api_framework-0.9.5 → open_api_framework-0.9.6}/open_api_framework/templatetags/__init__.py +0 -0
  26. {open_api_framework-0.9.5 → open_api_framework-0.9.6}/open_api_framework/templatetags/doc_tags.py +0 -0
  27. {open_api_framework-0.9.5 → open_api_framework-0.9.6}/open_api_framework/templatetags/open_api_framework.py +0 -0
  28. {open_api_framework-0.9.5 → open_api_framework-0.9.6}/open_api_framework/utils.py +0 -0
  29. {open_api_framework-0.9.5 → open_api_framework-0.9.6}/open_api_framework.egg-info/SOURCES.txt +0 -0
  30. {open_api_framework-0.9.5 → open_api_framework-0.9.6}/open_api_framework.egg-info/dependency_links.txt +0 -0
  31. {open_api_framework-0.9.5 → open_api_framework-0.9.6}/open_api_framework.egg-info/requires.txt +0 -0
  32. {open_api_framework-0.9.5 → open_api_framework-0.9.6}/open_api_framework.egg-info/top_level.txt +0 -0
  33. {open_api_framework-0.9.5 → open_api_framework-0.9.6}/setup.cfg +0 -0
  34. {open_api_framework-0.9.5 → open_api_framework-0.9.6}/tests/test_admin.py +0 -0
  35. {open_api_framework-0.9.5 → open_api_framework-0.9.6}/tests/test_config_helpers.py +0 -0
  36. {open_api_framework-0.9.5 → open_api_framework-0.9.6}/tests/test_settings.py +0 -0
@@ -1,6 +1,14 @@
1
1
  Changelog
2
2
  =========
3
3
 
4
+ 0.9.6 (2025-03-28)
5
+ ------------------
6
+
7
+ **Maintenance**
8
+
9
+ * [#59] Set ``SITE_DOMAIN`` default to an empty string and add ``SITE_ID``
10
+
11
+
4
12
  0.9.5 (2025-03-24)
5
13
  ------------------
6
14
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: open-api-framework
3
- Version: 0.9.5
3
+ Version: 0.9.6
4
4
  Summary: A metapackage for registration components, that bundles the dependencies shared between these components and provides generic settings
5
5
  Author-email: Maykin Media <support@maykinmedia.nl>
6
6
  License: Copyright © Maykin 2024
@@ -82,7 +82,7 @@ Dynamic: license-file
82
82
  Open API Framework
83
83
  ==================
84
84
 
85
- :Version: 0.9.5
85
+ :Version: 0.9.6
86
86
  :Source: https://github.com/maykinmedia/open-api-framework
87
87
  :Keywords: metapackage, dependencies
88
88
 
@@ -1,7 +1,7 @@
1
1
  Open API Framework
2
2
  ==================
3
3
 
4
- :Version: 0.9.5
4
+ :Version: 0.9.6
5
5
  :Source: https://github.com/maykinmedia/open-api-framework
6
6
  :Keywords: metapackage, dependencies
7
7
 
@@ -29,6 +29,11 @@ BASE_DIR = Path(DJANGO_PROJECT_DIR).resolve().parents[1]
29
29
  #
30
30
  # Core Django settings
31
31
  #
32
+ SITE_ID = config(
33
+ "SITE_ID",
34
+ default=1,
35
+ help_text="The database ID of the site object. You usually won't have to touch this.",
36
+ )
32
37
 
33
38
  # SECURITY WARNING: keep the secret key used in production secret!
34
39
  SECRET_KEY = config(
@@ -799,7 +804,7 @@ NOTIFICATIONS_DISABLED = config(
799
804
  )
800
805
  SITE_DOMAIN = config(
801
806
  "SITE_DOMAIN",
802
- default="example.com",
807
+ default="",
803
808
  help_text=("Defines the primary domain where the application is hosted."),
804
809
  )
805
810
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: open-api-framework
3
- Version: 0.9.5
3
+ Version: 0.9.6
4
4
  Summary: A metapackage for registration components, that bundles the dependencies shared between these components and provides generic settings
5
5
  Author-email: Maykin Media <support@maykinmedia.nl>
6
6
  License: Copyright © Maykin 2024
@@ -82,7 +82,7 @@ Dynamic: license-file
82
82
  Open API Framework
83
83
  ==================
84
84
 
85
- :Version: 0.9.5
85
+ :Version: 0.9.6
86
86
  :Source: https://github.com/maykinmedia/open-api-framework
87
87
  :Keywords: metapackage, dependencies
88
88
 
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "open-api-framework"
7
- version = "0.9.5"
7
+ version = "0.9.6"
8
8
  description = "A metapackage for registration components, that bundles the dependencies shared between these components and provides generic settings"
9
9
  authors = [
10
10
  {name = "Maykin Media", email = "support@maykinmedia.nl"}
@@ -109,7 +109,7 @@ env = [
109
109
  ]
110
110
 
111
111
  [tool.bumpversion]
112
- current_version = "0.9.5"
112
+ current_version = "0.9.6"
113
113
  files = [
114
114
  {filename = "pyproject.toml"},
115
115
  {filename = "README.rst"},
@@ -74,6 +74,7 @@ Content Security Policy
74
74
  Optional
75
75
  --------
76
76
 
77
+ * ``SITE_ID``: The database ID of the site object. You usually won't have to touch this. Defaults to: ``1``.
77
78
  * ``DEBUG``: Only set this to ``True`` on a local development environment. Various other security settings are derived from this setting!. Defaults to: ``False``.
78
79
  * ``USE_X_FORWARDED_HOST``: whether to grab the domain/host from the X-Forwarded-Host header or not. This header is typically set by reverse proxies (such as nginx, traefik, Apache...). Note: this is a header that can be spoofed and you need to ensure you control it before enabling this. Defaults to: ``False``.
79
80
  * ``IS_HTTPS``: Used to construct absolute URLs and controls a variety of security settings. Defaults to the inverse of ``DEBUG``.
@@ -96,7 +97,7 @@ Optional
96
97
  * ``NUM_PROXIES``: the number of reverse proxies in front of the application, as an integer. This is used to determine the actual client IP adres. On Kubernetes with an ingress you typically want to set this to 2. Defaults to: ``1``.
97
98
  * ``CSRF_TRUSTED_ORIGINS``: A list of trusted origins for unsafe requests (e.g. POST). Defaults to: ``[]``.
98
99
  * ``NOTIFICATIONS_DISABLED``: indicates whether or not notifications should be sent to the Notificaties API for operations on the API endpoints. Defaults to ``True`` for the ``dev`` environment, otherwise defaults to ``False``.
99
- * ``SITE_DOMAIN``: Defines the primary domain where the application is hosted. Defaults to: ``example.com``.
100
+ * ``SITE_DOMAIN``: Defines the primary domain where the application is hosted. Defaults to: ``(empty string)``.
100
101
  * ``SENTRY_DSN``: URL of the sentry project to send error reports to. Default empty, i.e. -> no monitoring set up. Highly recommended to configure this.
101
102
  * ``DISABLE_2FA``: Whether or not two factor authentication should be disabled. Defaults to: ``False``.
102
103
  * ``LOG_OUTGOING_REQUESTS_EMIT_BODY``: Whether or not outgoing request bodies should be logged. Defaults to: ``True``.