open-api-framework 0.10.0__tar.gz → 0.10.2__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.
- {open_api_framework-0.10.0 → open_api_framework-0.10.2}/CHANGELOG.rst +22 -0
- {open_api_framework-0.10.0/open_api_framework.egg-info → open_api_framework-0.10.2}/PKG-INFO +11 -14
- {open_api_framework-0.10.0 → open_api_framework-0.10.2}/README.rst +5 -4
- {open_api_framework-0.10.0 → open_api_framework-0.10.2}/open_api_framework/admin.py +0 -2
- {open_api_framework-0.10.0 → open_api_framework-0.10.2}/open_api_framework/conf/base.py +7 -2
- {open_api_framework-0.10.0 → open_api_framework-0.10.2/open_api_framework.egg-info}/PKG-INFO +11 -14
- {open_api_framework-0.10.0 → open_api_framework-0.10.2}/open_api_framework.egg-info/SOURCES.txt +0 -1
- {open_api_framework-0.10.0 → open_api_framework-0.10.2}/open_api_framework.egg-info/requires.txt +3 -4
- {open_api_framework-0.10.0 → open_api_framework-0.10.2}/pyproject.toml +7 -18
- open_api_framework-0.10.2/setup.cfg +4 -0
- {open_api_framework-0.10.0 → open_api_framework-0.10.2}/tests/test_admin.py +0 -3
- {open_api_framework-0.10.0 → open_api_framework-0.10.2}/tests/test_generate_envvar_docs.py +1 -1
- {open_api_framework-0.10.0 → open_api_framework-0.10.2}/tests/test_settings.py +1 -3
- open_api_framework-0.10.0/setup.cfg +0 -8
- {open_api_framework-0.10.0 → open_api_framework-0.10.2}/LICENSE +0 -0
- {open_api_framework-0.10.0 → open_api_framework-0.10.2}/MANIFEST.in +0 -0
- {open_api_framework-0.10.0 → open_api_framework-0.10.2}/open_api_framework/__init__.py +0 -0
- {open_api_framework-0.10.0 → open_api_framework-0.10.2}/open_api_framework/apps.py +0 -0
- {open_api_framework-0.10.0 → open_api_framework-0.10.2}/open_api_framework/conf/__init__.py +0 -0
- {open_api_framework-0.10.0 → open_api_framework-0.10.2}/open_api_framework/conf/utils.py +0 -0
- {open_api_framework-0.10.0 → open_api_framework-0.10.2}/open_api_framework/context_processors.py +0 -0
- {open_api_framework-0.10.0 → open_api_framework-0.10.2}/open_api_framework/management/__init__.py +0 -0
- {open_api_framework-0.10.0 → open_api_framework-0.10.2}/open_api_framework/management/commands/__init__.py +0 -0
- {open_api_framework-0.10.0 → open_api_framework-0.10.2}/open_api_framework/management/commands/generate_envvar_docs.py +0 -0
- {open_api_framework-0.10.0 → open_api_framework-0.10.2}/open_api_framework/py.typed +0 -0
- {open_api_framework-0.10.0 → open_api_framework-0.10.2}/open_api_framework/static/open_api_framework/css/admin.css +0 -0
- {open_api_framework-0.10.0 → open_api_framework-0.10.2}/open_api_framework/templates/open_api_framework/admin/base_site.html +0 -0
- {open_api_framework-0.10.0 → open_api_framework-0.10.2}/open_api_framework/templates/open_api_framework/components/environment.html +0 -0
- {open_api_framework-0.10.0 → open_api_framework-0.10.2}/open_api_framework/templates/open_api_framework/components/version.html +0 -0
- {open_api_framework-0.10.0 → open_api_framework-0.10.2}/open_api_framework/templates/open_api_framework/env_config.rst +0 -0
- {open_api_framework-0.10.0 → open_api_framework-0.10.2}/open_api_framework/templatetags/__init__.py +0 -0
- {open_api_framework-0.10.0 → open_api_framework-0.10.2}/open_api_framework/templatetags/doc_tags.py +0 -0
- {open_api_framework-0.10.0 → open_api_framework-0.10.2}/open_api_framework/templatetags/open_api_framework.py +0 -0
- {open_api_framework-0.10.0 → open_api_framework-0.10.2}/open_api_framework/utils.py +0 -0
- {open_api_framework-0.10.0 → open_api_framework-0.10.2}/open_api_framework.egg-info/dependency_links.txt +0 -0
- {open_api_framework-0.10.0 → open_api_framework-0.10.2}/open_api_framework.egg-info/top_level.txt +0 -0
- {open_api_framework-0.10.0 → open_api_framework-0.10.2}/tests/test_config_helpers.py +0 -0
|
@@ -1,6 +1,28 @@
|
|
|
1
1
|
Changelog
|
|
2
2
|
=========
|
|
3
3
|
|
|
4
|
+
0.10.2 (2025-06-11)
|
|
5
|
+
-------------------
|
|
6
|
+
|
|
7
|
+
**New features**
|
|
8
|
+
|
|
9
|
+
* [#139] Add ``django-upgrade-check`` dependency and set Python 3.12 as the minimum required version
|
|
10
|
+
|
|
11
|
+
0.10.1 (2025-05-26)
|
|
12
|
+
-------------------
|
|
13
|
+
|
|
14
|
+
**Bugfixes**
|
|
15
|
+
|
|
16
|
+
* Do not use ``save_outgoing_requests`` log handler if ``LOG_REQUESTS`` is set to false
|
|
17
|
+
|
|
18
|
+
**Maintenance**
|
|
19
|
+
|
|
20
|
+
* [#132] Replace ``check_sphinx.py`` with ``make``
|
|
21
|
+
* [#133] Replace ``black``, ``isort`` and ``flake8`` with ``ruff`` and update code-quality workflow
|
|
22
|
+
* [#140] Upgrade python to 3.12
|
|
23
|
+
* Upgrade codecov action to v4
|
|
24
|
+
|
|
25
|
+
|
|
4
26
|
0.10.0 (2025-05-19)
|
|
5
27
|
-------------------
|
|
6
28
|
|
{open_api_framework-0.10.0/open_api_framework.egg-info → open_api_framework-0.10.2}/PKG-INFO
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: open-api-framework
|
|
3
|
-
Version: 0.10.
|
|
3
|
+
Version: 0.10.2
|
|
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
|
|
@@ -18,20 +18,17 @@ Project-URL: Source Code, https://github.com/maykinmedia/open-api-framework
|
|
|
18
18
|
Keywords: metapackage,dependencies,settings
|
|
19
19
|
Classifier: Development Status :: 3 - Alpha
|
|
20
20
|
Classifier: Framework :: Django
|
|
21
|
-
Classifier: Framework :: Django ::
|
|
22
|
-
Classifier: Framework :: Django :: 5.1
|
|
21
|
+
Classifier: Framework :: Django :: 5.2
|
|
23
22
|
Classifier: Intended Audience :: Developers
|
|
24
23
|
Classifier: Operating System :: Unix
|
|
25
24
|
Classifier: Operating System :: MacOS
|
|
26
25
|
Classifier: Operating System :: Microsoft :: Windows
|
|
27
|
-
Classifier: Programming Language :: Python :: 3.9
|
|
28
|
-
Classifier: Programming Language :: Python :: 3.11
|
|
29
26
|
Classifier: Programming Language :: Python :: 3.12
|
|
30
27
|
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
31
|
-
Requires-Python: >=3.
|
|
28
|
+
Requires-Python: >=3.12
|
|
32
29
|
Description-Content-Type: text/x-rst
|
|
33
30
|
License-File: LICENSE
|
|
34
|
-
Requires-Dist: django>=
|
|
31
|
+
Requires-Dist: django>=5.2
|
|
35
32
|
Requires-Dist: django-axes>=6.5.1
|
|
36
33
|
Requires-Dist: django-cors-headers>=4.4.0
|
|
37
34
|
Requires-Dist: django-markup>=1.8.1
|
|
@@ -60,14 +57,13 @@ Requires-Dist: flower>=2.0.1
|
|
|
60
57
|
Requires-Dist: maykin-2fa>=1.0.1
|
|
61
58
|
Requires-Dist: django-setup-configuration>=0.1.0
|
|
62
59
|
Requires-Dist: django-sessionprofile>=3.0.0
|
|
60
|
+
Requires-Dist: django-upgrade-check>=1.1.0
|
|
63
61
|
Provides-Extra: tests
|
|
64
62
|
Requires-Dist: pytest; extra == "tests"
|
|
65
63
|
Requires-Dist: pytest-django; extra == "tests"
|
|
66
64
|
Requires-Dist: pytest-env; extra == "tests"
|
|
67
65
|
Requires-Dist: tox; extra == "tests"
|
|
68
|
-
Requires-Dist:
|
|
69
|
-
Requires-Dist: black; extra == "tests"
|
|
70
|
-
Requires-Dist: flake8; extra == "tests"
|
|
66
|
+
Requires-Dist: ruff; extra == "tests"
|
|
71
67
|
Requires-Dist: factory-boy; extra == "tests"
|
|
72
68
|
Requires-Dist: django-rosetta; extra == "tests"
|
|
73
69
|
Requires-Dist: django-webtest; extra == "tests"
|
|
@@ -84,11 +80,11 @@ Dynamic: license-file
|
|
|
84
80
|
Open API Framework
|
|
85
81
|
==================
|
|
86
82
|
|
|
87
|
-
:Version: 0.10.
|
|
83
|
+
:Version: 0.10.2
|
|
88
84
|
:Source: https://github.com/maykinmedia/open-api-framework
|
|
89
85
|
:Keywords: metapackage, dependencies
|
|
90
86
|
|
|
91
|
-
|build-status| |code-quality| |
|
|
87
|
+
|build-status| |code-quality| |ruff| |coverage| |docs|
|
|
92
88
|
|
|
93
89
|
|python-versions| |django-versions| |pypi-version|
|
|
94
90
|
|
|
@@ -129,8 +125,9 @@ Licensed under the `MIT license`.
|
|
|
129
125
|
:alt: Code quality checks
|
|
130
126
|
:target: https://github.com/maykinmedia/open-api-framework/actions?query=workflow%3A%22Code+quality+checks%22
|
|
131
127
|
|
|
132
|
-
.. |
|
|
133
|
-
:target: https://github.com/
|
|
128
|
+
.. |ruff| image:: https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json
|
|
129
|
+
:target: https://github.com/astral-sh/ruff
|
|
130
|
+
:alt: Ruff
|
|
134
131
|
|
|
135
132
|
.. |coverage| image:: https://codecov.io/gh/maykinmedia/open-api-framework/branch/main/graph/badge.svg
|
|
136
133
|
:target: https://codecov.io/gh/maykinmedia/open-api-framework
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
Open API Framework
|
|
2
2
|
==================
|
|
3
3
|
|
|
4
|
-
:Version: 0.10.
|
|
4
|
+
:Version: 0.10.2
|
|
5
5
|
:Source: https://github.com/maykinmedia/open-api-framework
|
|
6
6
|
:Keywords: metapackage, dependencies
|
|
7
7
|
|
|
8
|
-
|build-status| |code-quality| |
|
|
8
|
+
|build-status| |code-quality| |ruff| |coverage| |docs|
|
|
9
9
|
|
|
10
10
|
|python-versions| |django-versions| |pypi-version|
|
|
11
11
|
|
|
@@ -46,8 +46,9 @@ Licensed under the `MIT license`.
|
|
|
46
46
|
:alt: Code quality checks
|
|
47
47
|
:target: https://github.com/maykinmedia/open-api-framework/actions?query=workflow%3A%22Code+quality+checks%22
|
|
48
48
|
|
|
49
|
-
.. |
|
|
50
|
-
:target: https://github.com/
|
|
49
|
+
.. |ruff| image:: https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json
|
|
50
|
+
:target: https://github.com/astral-sh/ruff
|
|
51
|
+
:alt: Ruff
|
|
51
52
|
|
|
52
53
|
.. |coverage| image:: https://codecov.io/gh/maykinmedia/open-api-framework/branch/main/graph/badge.svg
|
|
53
54
|
:target: https://codecov.io/gh/maykinmedia/open-api-framework
|
|
@@ -11,7 +11,6 @@ class SessionProfileAdmin(admin.ModelAdmin):
|
|
|
11
11
|
|
|
12
12
|
@property
|
|
13
13
|
def SessionStore(self):
|
|
14
|
-
|
|
15
14
|
return get_session_store()
|
|
16
15
|
|
|
17
16
|
def get_queryset(self, request):
|
|
@@ -33,7 +32,6 @@ class SessionProfileAdmin(admin.ModelAdmin):
|
|
|
33
32
|
super().delete_model(request, obj)
|
|
34
33
|
|
|
35
34
|
def delete_queryset(self, request, queryset):
|
|
36
|
-
|
|
37
35
|
for session_profile in queryset.iterator():
|
|
38
36
|
self.SessionStore(session_profile.session_key).flush()
|
|
39
37
|
|
|
@@ -229,6 +229,8 @@ INSTALLED_APPS = [
|
|
|
229
229
|
"sessionprofile",
|
|
230
230
|
"open_api_framework",
|
|
231
231
|
PROJECT_DIRNAME,
|
|
232
|
+
# Django libraries
|
|
233
|
+
"upgrade_check",
|
|
232
234
|
]
|
|
233
235
|
|
|
234
236
|
MIDDLEWARE = [
|
|
@@ -374,7 +376,10 @@ LOG_QUERIES = config(
|
|
|
374
376
|
LOG_REQUESTS = config(
|
|
375
377
|
"LOG_REQUESTS",
|
|
376
378
|
default=False,
|
|
377
|
-
help_text=
|
|
379
|
+
help_text=(
|
|
380
|
+
"enable logging of the outgoing requests. "
|
|
381
|
+
"This must be enabled along with `LOG_OUTGOING_REQUESTS_DB_SAVE` to save outgoing request logs in the database."
|
|
382
|
+
),
|
|
378
383
|
group="Logging",
|
|
379
384
|
)
|
|
380
385
|
if LOG_QUERIES and not DEBUG:
|
|
@@ -529,7 +534,7 @@ LOGGING = {
|
|
|
529
534
|
"handlers": (
|
|
530
535
|
["log_outgoing_requests", "save_outgoing_requests"]
|
|
531
536
|
if LOG_REQUESTS
|
|
532
|
-
else [
|
|
537
|
+
else []
|
|
533
538
|
),
|
|
534
539
|
"level": "DEBUG",
|
|
535
540
|
"propagate": True,
|
{open_api_framework-0.10.0 → open_api_framework-0.10.2/open_api_framework.egg-info}/PKG-INFO
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: open-api-framework
|
|
3
|
-
Version: 0.10.
|
|
3
|
+
Version: 0.10.2
|
|
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
|
|
@@ -18,20 +18,17 @@ Project-URL: Source Code, https://github.com/maykinmedia/open-api-framework
|
|
|
18
18
|
Keywords: metapackage,dependencies,settings
|
|
19
19
|
Classifier: Development Status :: 3 - Alpha
|
|
20
20
|
Classifier: Framework :: Django
|
|
21
|
-
Classifier: Framework :: Django ::
|
|
22
|
-
Classifier: Framework :: Django :: 5.1
|
|
21
|
+
Classifier: Framework :: Django :: 5.2
|
|
23
22
|
Classifier: Intended Audience :: Developers
|
|
24
23
|
Classifier: Operating System :: Unix
|
|
25
24
|
Classifier: Operating System :: MacOS
|
|
26
25
|
Classifier: Operating System :: Microsoft :: Windows
|
|
27
|
-
Classifier: Programming Language :: Python :: 3.9
|
|
28
|
-
Classifier: Programming Language :: Python :: 3.11
|
|
29
26
|
Classifier: Programming Language :: Python :: 3.12
|
|
30
27
|
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
31
|
-
Requires-Python: >=3.
|
|
28
|
+
Requires-Python: >=3.12
|
|
32
29
|
Description-Content-Type: text/x-rst
|
|
33
30
|
License-File: LICENSE
|
|
34
|
-
Requires-Dist: django>=
|
|
31
|
+
Requires-Dist: django>=5.2
|
|
35
32
|
Requires-Dist: django-axes>=6.5.1
|
|
36
33
|
Requires-Dist: django-cors-headers>=4.4.0
|
|
37
34
|
Requires-Dist: django-markup>=1.8.1
|
|
@@ -60,14 +57,13 @@ Requires-Dist: flower>=2.0.1
|
|
|
60
57
|
Requires-Dist: maykin-2fa>=1.0.1
|
|
61
58
|
Requires-Dist: django-setup-configuration>=0.1.0
|
|
62
59
|
Requires-Dist: django-sessionprofile>=3.0.0
|
|
60
|
+
Requires-Dist: django-upgrade-check>=1.1.0
|
|
63
61
|
Provides-Extra: tests
|
|
64
62
|
Requires-Dist: pytest; extra == "tests"
|
|
65
63
|
Requires-Dist: pytest-django; extra == "tests"
|
|
66
64
|
Requires-Dist: pytest-env; extra == "tests"
|
|
67
65
|
Requires-Dist: tox; extra == "tests"
|
|
68
|
-
Requires-Dist:
|
|
69
|
-
Requires-Dist: black; extra == "tests"
|
|
70
|
-
Requires-Dist: flake8; extra == "tests"
|
|
66
|
+
Requires-Dist: ruff; extra == "tests"
|
|
71
67
|
Requires-Dist: factory-boy; extra == "tests"
|
|
72
68
|
Requires-Dist: django-rosetta; extra == "tests"
|
|
73
69
|
Requires-Dist: django-webtest; extra == "tests"
|
|
@@ -84,11 +80,11 @@ Dynamic: license-file
|
|
|
84
80
|
Open API Framework
|
|
85
81
|
==================
|
|
86
82
|
|
|
87
|
-
:Version: 0.10.
|
|
83
|
+
:Version: 0.10.2
|
|
88
84
|
:Source: https://github.com/maykinmedia/open-api-framework
|
|
89
85
|
:Keywords: metapackage, dependencies
|
|
90
86
|
|
|
91
|
-
|build-status| |code-quality| |
|
|
87
|
+
|build-status| |code-quality| |ruff| |coverage| |docs|
|
|
92
88
|
|
|
93
89
|
|python-versions| |django-versions| |pypi-version|
|
|
94
90
|
|
|
@@ -129,8 +125,9 @@ Licensed under the `MIT license`.
|
|
|
129
125
|
:alt: Code quality checks
|
|
130
126
|
:target: https://github.com/maykinmedia/open-api-framework/actions?query=workflow%3A%22Code+quality+checks%22
|
|
131
127
|
|
|
132
|
-
.. |
|
|
133
|
-
:target: https://github.com/
|
|
128
|
+
.. |ruff| image:: https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json
|
|
129
|
+
:target: https://github.com/astral-sh/ruff
|
|
130
|
+
:alt: Ruff
|
|
134
131
|
|
|
135
132
|
.. |coverage| image:: https://codecov.io/gh/maykinmedia/open-api-framework/branch/main/graph/badge.svg
|
|
136
133
|
:target: https://codecov.io/gh/maykinmedia/open-api-framework
|
{open_api_framework-0.10.0 → open_api_framework-0.10.2}/open_api_framework.egg-info/requires.txt
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
django>=
|
|
1
|
+
django>=5.2
|
|
2
2
|
django-axes>=6.5.1
|
|
3
3
|
django-cors-headers>=4.4.0
|
|
4
4
|
django-markup>=1.8.1
|
|
@@ -27,6 +27,7 @@ flower>=2.0.1
|
|
|
27
27
|
maykin-2fa>=1.0.1
|
|
28
28
|
django-setup-configuration>=0.1.0
|
|
29
29
|
django-sessionprofile>=3.0.0
|
|
30
|
+
django-upgrade-check>=1.1.0
|
|
30
31
|
|
|
31
32
|
[coverage]
|
|
32
33
|
pytest-cov
|
|
@@ -44,9 +45,7 @@ pytest
|
|
|
44
45
|
pytest-django
|
|
45
46
|
pytest-env
|
|
46
47
|
tox
|
|
47
|
-
|
|
48
|
-
black
|
|
49
|
-
flake8
|
|
48
|
+
ruff
|
|
50
49
|
factory-boy
|
|
51
50
|
django-rosetta
|
|
52
51
|
django-webtest
|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "open-api-framework"
|
|
7
|
-
version = "0.10.
|
|
7
|
+
version = "0.10.2"
|
|
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"}
|
|
@@ -15,20 +15,17 @@ keywords = ["metapackage", "dependencies", "settings"]
|
|
|
15
15
|
classifiers = [
|
|
16
16
|
"Development Status :: 3 - Alpha",
|
|
17
17
|
"Framework :: Django",
|
|
18
|
-
"Framework :: Django ::
|
|
19
|
-
"Framework :: Django :: 5.1",
|
|
18
|
+
"Framework :: Django :: 5.2",
|
|
20
19
|
"Intended Audience :: Developers",
|
|
21
20
|
"Operating System :: Unix",
|
|
22
21
|
"Operating System :: MacOS",
|
|
23
22
|
"Operating System :: Microsoft :: Windows",
|
|
24
|
-
"Programming Language :: Python :: 3.9",
|
|
25
|
-
"Programming Language :: Python :: 3.11",
|
|
26
23
|
"Programming Language :: Python :: 3.12",
|
|
27
24
|
"Topic :: Software Development :: Libraries :: Python Modules",
|
|
28
25
|
]
|
|
29
|
-
requires-python = ">=3.
|
|
26
|
+
requires-python = ">=3.12"
|
|
30
27
|
dependencies = [
|
|
31
|
-
"django>=
|
|
28
|
+
"django>=5.2",
|
|
32
29
|
"django-axes>=6.5.1",
|
|
33
30
|
"django-cors-headers>=4.4.0",
|
|
34
31
|
"django-markup>=1.8.1",
|
|
@@ -57,6 +54,7 @@ dependencies = [
|
|
|
57
54
|
"maykin-2fa>=1.0.1",
|
|
58
55
|
"django-setup-configuration>=0.1.0",
|
|
59
56
|
"django-sessionprofile>=3.0.0",
|
|
57
|
+
"django-upgrade-check>=1.1.0",
|
|
60
58
|
]
|
|
61
59
|
|
|
62
60
|
[project.urls]
|
|
@@ -71,9 +69,7 @@ tests = [
|
|
|
71
69
|
"pytest-django",
|
|
72
70
|
"pytest-env",
|
|
73
71
|
"tox",
|
|
74
|
-
"
|
|
75
|
-
"black",
|
|
76
|
-
"flake8",
|
|
72
|
+
"ruff",
|
|
77
73
|
"factory-boy",
|
|
78
74
|
"django-rosetta",
|
|
79
75
|
"django-webtest"
|
|
@@ -94,13 +90,6 @@ release = [
|
|
|
94
90
|
include = ["open_api_framework*"]
|
|
95
91
|
namespaces = false
|
|
96
92
|
|
|
97
|
-
[tool.isort]
|
|
98
|
-
profile = "black"
|
|
99
|
-
combine_as_imports = true
|
|
100
|
-
known_django = "django"
|
|
101
|
-
known_first_party="open_api_framework"
|
|
102
|
-
sections=["FUTURE", "STDLIB", "DJANGO", "THIRDPARTY", "FIRSTPARTY", "LOCALFOLDER"]
|
|
103
|
-
|
|
104
93
|
[tool.pytest.ini_options]
|
|
105
94
|
testpaths = ["tests"]
|
|
106
95
|
pythonpath = "."
|
|
@@ -111,7 +100,7 @@ env = [
|
|
|
111
100
|
]
|
|
112
101
|
|
|
113
102
|
[tool.bumpversion]
|
|
114
|
-
current_version = "0.10.
|
|
103
|
+
current_version = "0.10.2"
|
|
115
104
|
files = [
|
|
116
105
|
{filename = "pyproject.toml"},
|
|
117
106
|
{filename = "README.rst"},
|
|
@@ -18,7 +18,6 @@ def session_changelist_url():
|
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
def test_session_profile_sanity(client, admin_user, session_changelist_url):
|
|
21
|
-
|
|
22
21
|
client.force_login(admin_user)
|
|
23
22
|
response = client.get(session_changelist_url)
|
|
24
23
|
assert response.status_code == 200
|
|
@@ -32,7 +31,6 @@ def test_session_profile_sanity(client, admin_user, session_changelist_url):
|
|
|
32
31
|
def test_only_session_profile_of_user_shown(
|
|
33
32
|
client, admin_user, django_user_model, session_changelist_url
|
|
34
33
|
):
|
|
35
|
-
|
|
36
34
|
other_admin = django_user_model.objects.create_superuser("garry")
|
|
37
35
|
|
|
38
36
|
client.force_login(other_admin)
|
|
@@ -168,7 +166,6 @@ def test_delete_action_with_session_db_backend(
|
|
|
168
166
|
def test_delete_action_with_session_cache_backend(
|
|
169
167
|
client, admin_user, session_changelist_url
|
|
170
168
|
):
|
|
171
|
-
|
|
172
169
|
client.force_login(admin_user)
|
|
173
170
|
sessions = SessionProfileFactory.create_batch(5, user=admin_user)
|
|
174
171
|
|
|
@@ -41,7 +41,7 @@ Logging
|
|
|
41
41
|
* ``LOG_STDOUT``: whether to log to stdout or not. Defaults to: ``True``.
|
|
42
42
|
* ``LOG_LEVEL``: control the verbosity of logging output. Available values are ``CRITICAL``, ``ERROR``, ``WARNING``, ``INFO`` and ``DEBUG``. Defaults to: ``WARNING``.
|
|
43
43
|
* ``LOG_QUERIES``: enable (query) logging at the database backend level. Note that you must also set ``DEBUG=1``, which should be done very sparingly!. Defaults to: ``False``.
|
|
44
|
-
* ``LOG_REQUESTS``: enable logging of the outgoing requests. Defaults to: ``False``.
|
|
44
|
+
* ``LOG_REQUESTS``: enable logging of the outgoing requests. This must be enabled along with `LOG_OUTGOING_REQUESTS_DB_SAVE` to save outgoing request logs in the database. Defaults to: ``False``.
|
|
45
45
|
* ``LOG_OUTGOING_REQUESTS_EMIT_BODY``: Whether or not outgoing request bodies should be logged. Defaults to: ``True``.
|
|
46
46
|
* ``LOG_OUTGOING_REQUESTS_DB_SAVE``: Whether or not outgoing request logs should be saved to the database. Defaults to: ``False``.
|
|
47
47
|
* ``LOG_OUTGOING_REQUESTS_DB_SAVE_BODY``: Whether or not outgoing request bodies should be saved to the database. Defaults to: ``True``.
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
from django.conf import settings
|
|
2
2
|
from django.urls import reverse
|
|
3
3
|
|
|
4
|
-
import requests_mock
|
|
5
4
|
from django_webtest import WebTest
|
|
6
5
|
|
|
7
6
|
|
|
@@ -14,9 +13,8 @@ def test_sentry_settings():
|
|
|
14
13
|
assert hasattr(settings, "SENTRY_DSN") is True
|
|
15
14
|
|
|
16
15
|
|
|
17
|
-
@requests_mock.Mocker()
|
|
18
16
|
class RosettaTests(WebTest):
|
|
19
|
-
def test_rosetta_redirect_fails_with_lazy_login_url(self
|
|
17
|
+
def test_rosetta_redirect_fails_with_lazy_login_url(self):
|
|
20
18
|
response = self.app.get("/admin/rosetta/files/project/")
|
|
21
19
|
|
|
22
20
|
expected_login_url = (
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{open_api_framework-0.10.0 → open_api_framework-0.10.2}/open_api_framework/context_processors.py
RENAMED
|
File without changes
|
{open_api_framework-0.10.0 → open_api_framework-0.10.2}/open_api_framework/management/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{open_api_framework-0.10.0 → open_api_framework-0.10.2}/open_api_framework/templatetags/__init__.py
RENAMED
|
File without changes
|
{open_api_framework-0.10.0 → open_api_framework-0.10.2}/open_api_framework/templatetags/doc_tags.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{open_api_framework-0.10.0 → open_api_framework-0.10.2}/open_api_framework.egg-info/top_level.txt
RENAMED
|
File without changes
|
|
File without changes
|