django-dynamic-admin-forms 3.0.0__tar.gz → 3.0.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.
- {django_dynamic_admin_forms-3.0.0 → django_dynamic_admin_forms-3.0.2}/.ambient-package-update/metadata.py +3 -0
- {django_dynamic_admin_forms-3.0.0 → django_dynamic_admin_forms-3.0.2}/.github/workflows/ci.yml +0 -6
- {django_dynamic_admin_forms-3.0.0 → django_dynamic_admin_forms-3.0.2}/.pre-commit-config.yaml +3 -3
- {django_dynamic_admin_forms-3.0.0 → django_dynamic_admin_forms-3.0.2}/CHANGES.md +6 -0
- {django_dynamic_admin_forms-3.0.0 → django_dynamic_admin_forms-3.0.2}/PKG-INFO +17 -28
- {django_dynamic_admin_forms-3.0.0 → django_dynamic_admin_forms-3.0.2}/README.md +15 -26
- {django_dynamic_admin_forms-3.0.0 → django_dynamic_admin_forms-3.0.2}/django_dynamic_admin_forms/__init__.py +1 -1
- {django_dynamic_admin_forms-3.0.0 → django_dynamic_admin_forms-3.0.2}/docs/conf.py +1 -1
- {django_dynamic_admin_forms-3.0.0 → django_dynamic_admin_forms-3.0.2}/pyproject.toml +1 -1
- {django_dynamic_admin_forms-3.0.0 → django_dynamic_admin_forms-3.0.2}/.coveragerc +0 -0
- {django_dynamic_admin_forms-3.0.0 → django_dynamic_admin_forms-3.0.2}/.editorconfig +0 -0
- {django_dynamic_admin_forms-3.0.0 → django_dynamic_admin_forms-3.0.2}/.gitignore +0 -0
- {django_dynamic_admin_forms-3.0.0 → django_dynamic_admin_forms-3.0.2}/.python-version +0 -0
- {django_dynamic_admin_forms-3.0.0 → django_dynamic_admin_forms-3.0.2}/.readthedocs.yaml +0 -0
- {django_dynamic_admin_forms-3.0.0 → django_dynamic_admin_forms-3.0.2}/LICENSE.md +0 -0
- {django_dynamic_admin_forms-3.0.0 → django_dynamic_admin_forms-3.0.2}/MANIFEST.in +0 -0
- {django_dynamic_admin_forms-3.0.0 → django_dynamic_admin_forms-3.0.2}/django_dynamic_admin_forms/admin.py +0 -0
- {django_dynamic_admin_forms-3.0.0 → django_dynamic_admin_forms-3.0.2}/django_dynamic_admin_forms/apps.py +0 -0
- {django_dynamic_admin_forms-3.0.0 → django_dynamic_admin_forms-3.0.2}/django_dynamic_admin_forms/static/js/dynamic_admin.js +0 -0
- {django_dynamic_admin_forms-3.0.0 → django_dynamic_admin_forms-3.0.2}/django_dynamic_admin_forms/templates/admin/change_form.html +0 -0
- {django_dynamic_admin_forms-3.0.0 → django_dynamic_admin_forms-3.0.2}/django_dynamic_admin_forms/urls.py +0 -0
- {django_dynamic_admin_forms-3.0.0 → django_dynamic_admin_forms-3.0.2}/docs/Makefile +0 -0
- {django_dynamic_admin_forms-3.0.0 → django_dynamic_admin_forms-3.0.2}/docs/demo.gif +0 -0
- {django_dynamic_admin_forms-3.0.0 → django_dynamic_admin_forms-3.0.2}/docs/features/changelog.rst +0 -0
- {django_dynamic_admin_forms-3.0.0 → django_dynamic_admin_forms-3.0.2}/docs/index.rst +0 -0
- {django_dynamic_admin_forms-3.0.0 → django_dynamic_admin_forms-3.0.2}/docs/make.bat +0 -0
- {django_dynamic_admin_forms-3.0.0 → django_dynamic_admin_forms-3.0.2}/e2e/cypress/integration/dynamic-select.spec.js +0 -0
- {django_dynamic_admin_forms-3.0.0 → django_dynamic_admin_forms-3.0.2}/e2e/cypress/plugins/index.js +0 -0
- {django_dynamic_admin_forms-3.0.0 → django_dynamic_admin_forms-3.0.2}/e2e/cypress/support/commands.js +0 -0
- {django_dynamic_admin_forms-3.0.0 → django_dynamic_admin_forms-3.0.2}/e2e/cypress/support/index.js +0 -0
- {django_dynamic_admin_forms-3.0.0 → django_dynamic_admin_forms-3.0.2}/e2e/cypress/support/paths.js +0 -0
- {django_dynamic_admin_forms-3.0.0 → django_dynamic_admin_forms-3.0.2}/e2e/cypress.json +0 -0
- {django_dynamic_admin_forms-3.0.0 → django_dynamic_admin_forms-3.0.2}/e2e/package.json +0 -0
- {django_dynamic_admin_forms-3.0.0 → django_dynamic_admin_forms-3.0.2}/e2e/yarn.lock +0 -0
- {django_dynamic_admin_forms-3.0.0 → django_dynamic_admin_forms-3.0.2}/fixtures/fixtures-dev.json +0 -0
- {django_dynamic_admin_forms-3.0.0 → django_dynamic_admin_forms-3.0.2}/manage.py +0 -0
- {django_dynamic_admin_forms-3.0.0 → django_dynamic_admin_forms-3.0.2}/scripts/unix/install_requirements.sh +0 -0
- {django_dynamic_admin_forms-3.0.0 → django_dynamic_admin_forms-3.0.2}/scripts/unix/publish_to_pypi.sh +0 -0
- {django_dynamic_admin_forms-3.0.0 → django_dynamic_admin_forms-3.0.2}/scripts/windows/install_requirements.ps1 +0 -0
- {django_dynamic_admin_forms-3.0.0 → django_dynamic_admin_forms-3.0.2}/scripts/windows/publish_to_pypi.ps1 +0 -0
- {django_dynamic_admin_forms-3.0.0 → django_dynamic_admin_forms-3.0.2}/settings.py +0 -0
- {django_dynamic_admin_forms-3.0.0 → django_dynamic_admin_forms-3.0.2}/setup.cfg +0 -0
- {django_dynamic_admin_forms-3.0.0 → django_dynamic_admin_forms-3.0.2}/testapp/__init__.py +0 -0
- {django_dynamic_admin_forms-3.0.0 → django_dynamic_admin_forms-3.0.2}/testapp/admin.py +0 -0
- {django_dynamic_admin_forms-3.0.0 → django_dynamic_admin_forms-3.0.2}/testapp/apps.py +0 -0
- {django_dynamic_admin_forms-3.0.0 → django_dynamic_admin_forms-3.0.2}/testapp/migrations/0001_initial.py +0 -0
- {django_dynamic_admin_forms-3.0.0 → django_dynamic_admin_forms-3.0.2}/testapp/migrations/0002_extend_example.py +0 -0
- {django_dynamic_admin_forms-3.0.0 → django_dynamic_admin_forms-3.0.2}/testapp/migrations/0003_example_file_field.py +0 -0
- {django_dynamic_admin_forms-3.0.0 → django_dynamic_admin_forms-3.0.2}/testapp/migrations/__init__.py +0 -0
- {django_dynamic_admin_forms-3.0.0 → django_dynamic_admin_forms-3.0.2}/testapp/models.py +0 -0
- {django_dynamic_admin_forms-3.0.0 → django_dynamic_admin_forms-3.0.2}/testapp/urls.py +0 -0
- {django_dynamic_admin_forms-3.0.0 → django_dynamic_admin_forms-3.0.2}/tests/__init__.py +0 -0
- {django_dynamic_admin_forms-3.0.0 → django_dynamic_admin_forms-3.0.2}/tests/test_admin_generic.py +0 -0
- {django_dynamic_admin_forms-3.0.0 → django_dynamic_admin_forms-3.0.2}/tests/test_admin_unit.py +0 -0
|
@@ -4,11 +4,13 @@ from ambient_package_update.metadata.constants import (
|
|
|
4
4
|
SUPPORTED_DJANGO_VERSIONS,
|
|
5
5
|
SUPPORTED_PYTHON_VERSIONS,
|
|
6
6
|
)
|
|
7
|
+
from ambient_package_update.metadata.maintainer import PackageMaintainer
|
|
7
8
|
from ambient_package_update.metadata.package import PackageMetadata
|
|
8
9
|
from ambient_package_update.metadata.readme import ReadmeContent
|
|
9
10
|
|
|
10
11
|
METADATA = PackageMetadata(
|
|
11
12
|
package_name="django_dynamic_admin_forms",
|
|
13
|
+
module_name="django_dynamic_admin_forms",
|
|
12
14
|
github_package_name="django_dynamic_admin",
|
|
13
15
|
company="Ambient Innovation: GmbH",
|
|
14
16
|
authors=[
|
|
@@ -21,6 +23,7 @@ METADATA = PackageMetadata(
|
|
|
21
23
|
email="fabian.binz@ambient.digital",
|
|
22
24
|
),
|
|
23
25
|
],
|
|
26
|
+
maintainer=PackageMaintainer(name="Ambient Digital", url="https://ambient.digital/", email="hello@ambient.digital"),
|
|
24
27
|
license_year=2022,
|
|
25
28
|
development_status="5 - Production/Stable",
|
|
26
29
|
has_migrations=False,
|
{django_dynamic_admin_forms-3.0.0 → django_dynamic_admin_forms-3.0.2}/.github/workflows/ci.yml
RENAMED
|
@@ -31,12 +31,6 @@ jobs:
|
|
|
31
31
|
django-version: ['42', '50', ]
|
|
32
32
|
|
|
33
33
|
exclude:
|
|
34
|
-
- python-version: '3.12'
|
|
35
|
-
django-version: 32
|
|
36
|
-
- python-version: '3.11'
|
|
37
|
-
django-version: 32
|
|
38
|
-
- python-version: '3.10'
|
|
39
|
-
django-version: 32
|
|
40
34
|
- python-version: '3.8'
|
|
41
35
|
django-version: 50
|
|
42
36
|
- python-version: '3.9'
|
{django_dynamic_admin_forms-3.0.0 → django_dynamic_admin_forms-3.0.2}/.pre-commit-config.yaml
RENAMED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
repos:
|
|
5
5
|
- repo: https://github.com/astral-sh/ruff-pre-commit
|
|
6
|
-
rev: v0.
|
|
6
|
+
rev: v0.4.8
|
|
7
7
|
hooks:
|
|
8
8
|
# Run the Ruff linter.
|
|
9
9
|
- id: ruff
|
|
@@ -12,14 +12,14 @@ repos:
|
|
|
12
12
|
- id: ruff-format
|
|
13
13
|
|
|
14
14
|
- repo: https://github.com/asottile/pyupgrade
|
|
15
|
-
rev: v3.
|
|
15
|
+
rev: v3.16.0
|
|
16
16
|
hooks:
|
|
17
17
|
- id: pyupgrade
|
|
18
18
|
args: [ --py38-plus ]
|
|
19
19
|
stages: [ push ]
|
|
20
20
|
|
|
21
21
|
- repo: https://github.com/adamchainz/django-upgrade
|
|
22
|
-
rev: 1.
|
|
22
|
+
rev: 1.18.0
|
|
23
23
|
hooks:
|
|
24
24
|
- id: django-upgrade
|
|
25
25
|
args: [--target-version, "4.2"]
|
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
**3.0.2**
|
|
4
|
+
* Internal updates via `ambient-package-update`
|
|
5
|
+
|
|
6
|
+
**3.0.1**
|
|
7
|
+
* Internal updates via `ambient-package-update`
|
|
8
|
+
|
|
3
9
|
**3.0.0**
|
|
4
10
|
* Dropped Django 3.2 & 4.1 support (via `ambient-package-update`)
|
|
5
11
|
* Internal updates via `ambient-package-update`
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: django-dynamic-admin-forms
|
|
3
|
-
Version: 3.0.
|
|
3
|
+
Version: 3.0.2
|
|
4
4
|
Summary: Add simple dynamic interaction to the otherwise static django admin.
|
|
5
5
|
Author-email: Ambient Digital <hello@ambient.digital>, Fabian Binz <fabian.binz@ambient.digital>
|
|
6
6
|
Description-Content-Type: text/markdown
|
|
@@ -34,7 +34,7 @@ Requires-Dist: sphinx-rtd-theme~=2.0 ; extra == "dev"
|
|
|
34
34
|
Requires-Dist: m2r2==0.3.3.post2 ; extra == "dev"
|
|
35
35
|
Requires-Dist: mistune<2.0.0 ; extra == "dev"
|
|
36
36
|
Requires-Dist: flit~=3.9 ; extra == "dev"
|
|
37
|
-
Requires-Dist: ambient-package-update~=24.
|
|
37
|
+
Requires-Dist: ambient-package-update~=24.6.2 ; extra == "dev"
|
|
38
38
|
Requires-Dist: unittest-parametrize~=1.4 ; extra == "dev"
|
|
39
39
|
Project-URL: Bugtracker, https://github.com/ambient-innovation/django-dynamic-admin/issues
|
|
40
40
|
Project-URL: Changelog, https://django-dynamic-admin-forms.readthedocs.io/en/latest/features/changelog.html
|
|
@@ -55,7 +55,8 @@ Add simple interactions to the otherwise static django admin.
|
|
|
55
55
|
* [PyPI](https://pypi.org/project/django-dynamic-admin-forms/)
|
|
56
56
|
* [GitHub](https://github.com/ambient-innovation/django-dynamic-admin)
|
|
57
57
|
* [Full documentation](https://django-dynamic-admin-forms.readthedocs.io/en/latest/index.html)
|
|
58
|
-
* Creator & Maintainer: [Ambient Digital](https://ambient.digital)
|
|
58
|
+
* Creator & Maintainer: [Ambient Digital](https://ambient.digital/)
|
|
59
|
+
|
|
59
60
|
|
|
60
61
|
# django-dynamic-admin-forms
|
|
61
62
|
|
|
@@ -189,39 +190,24 @@ $ yarn cypress # or npm run cypress
|
|
|
189
190
|
|
|
190
191
|
## Installation
|
|
191
192
|
|
|
193
|
+
- Install the package via pip:
|
|
192
194
|
|
|
195
|
+
`pip install django-dynamic-admin-forms`
|
|
193
196
|
|
|
194
|
-
|
|
197
|
+
or via pipenv:
|
|
195
198
|
|
|
196
|
-
|
|
199
|
+
`pipenv install django-dynamic-admin-forms`
|
|
197
200
|
|
|
198
|
-
|
|
201
|
+
- Add module to `INSTALLED_APPS` within the main django `settings.py`:
|
|
199
202
|
|
|
200
|
-
|
|
201
|
-
- Add the module to `INSTALLED_APPS`:
|
|
202
|
-
```python
|
|
203
|
+
````
|
|
203
204
|
INSTALLED_APPS = (
|
|
204
|
-
...,
|
|
205
|
-
'django_dynamic_admin_forms',
|
|
206
|
-
'django.contrib.admin'
|
|
207
205
|
...
|
|
206
|
+
'django_dynamic_admin_forms',
|
|
208
207
|
)
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
because otherwise the templates, which are overwritten by `dynamic_admin_forms`
|
|
213
|
-
won't be found.
|
|
214
|
-
- Ensure that the `dynamic_admin_forms` templates are found via using `APP_DIRS` setting:
|
|
215
|
-
```python
|
|
216
|
-
TEMPLATES = [
|
|
217
|
-
{
|
|
218
|
-
'BACKEND': 'django.template.backends.django.DjangoTemplates',
|
|
219
|
-
'APP_DIRS': True,
|
|
220
|
-
...
|
|
221
|
-
},
|
|
222
|
-
]
|
|
223
|
-
```
|
|
224
|
-
- Run `python manage.py collectstatic` to include this apps Javascript code in your `settings.STATIC_ROOT` directory
|
|
208
|
+
````
|
|
209
|
+
|
|
210
|
+
|
|
225
211
|
|
|
226
212
|
|
|
227
213
|
|
|
@@ -285,6 +271,7 @@ Example: run all hooks of pre-push stage
|
|
|
285
271
|
- To build the documentation run: `sphinx-build docs/ docs/_build/html/`.
|
|
286
272
|
- Open `docs/_build/html/index.html` to see the documentation.
|
|
287
273
|
|
|
274
|
+
|
|
288
275
|
### Translation files
|
|
289
276
|
|
|
290
277
|
If you have added custom text, make sure to wrap it in `_()` where `_` is
|
|
@@ -302,6 +289,7 @@ How to compile translation files:
|
|
|
302
289
|
* `python manage.py compilemessages`
|
|
303
290
|
* Have a look at the new/changed files within `django_dynamic_admin_forms/locale`
|
|
304
291
|
|
|
292
|
+
|
|
305
293
|
### Publish to ReadTheDocs.io
|
|
306
294
|
|
|
307
295
|
- Fetch the latest changes in GitHub mirror and push them
|
|
@@ -339,3 +327,4 @@ being rendered by this updater. It works similar to well-known updaters like `py
|
|
|
339
327
|
To run an update, refer to the [documentation page](https://pypi.org/project/ambient-package-update/)
|
|
340
328
|
of the "ambient-package-update".
|
|
341
329
|
|
|
330
|
+
|
|
@@ -10,7 +10,8 @@ Add simple interactions to the otherwise static django admin.
|
|
|
10
10
|
* [PyPI](https://pypi.org/project/django-dynamic-admin-forms/)
|
|
11
11
|
* [GitHub](https://github.com/ambient-innovation/django-dynamic-admin)
|
|
12
12
|
* [Full documentation](https://django-dynamic-admin-forms.readthedocs.io/en/latest/index.html)
|
|
13
|
-
* Creator & Maintainer: [Ambient Digital](https://ambient.digital)
|
|
13
|
+
* Creator & Maintainer: [Ambient Digital](https://ambient.digital/)
|
|
14
|
+
|
|
14
15
|
|
|
15
16
|
# django-dynamic-admin-forms
|
|
16
17
|
|
|
@@ -144,39 +145,24 @@ $ yarn cypress # or npm run cypress
|
|
|
144
145
|
|
|
145
146
|
## Installation
|
|
146
147
|
|
|
148
|
+
- Install the package via pip:
|
|
147
149
|
|
|
150
|
+
`pip install django-dynamic-admin-forms`
|
|
148
151
|
|
|
149
|
-
|
|
152
|
+
or via pipenv:
|
|
150
153
|
|
|
151
|
-
|
|
154
|
+
`pipenv install django-dynamic-admin-forms`
|
|
152
155
|
|
|
153
|
-
|
|
156
|
+
- Add module to `INSTALLED_APPS` within the main django `settings.py`:
|
|
154
157
|
|
|
155
|
-
|
|
156
|
-
- Add the module to `INSTALLED_APPS`:
|
|
157
|
-
```python
|
|
158
|
+
````
|
|
158
159
|
INSTALLED_APPS = (
|
|
159
|
-
...,
|
|
160
|
-
'django_dynamic_admin_forms',
|
|
161
|
-
'django.contrib.admin'
|
|
162
160
|
...
|
|
161
|
+
'django_dynamic_admin_forms',
|
|
163
162
|
)
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
because otherwise the templates, which are overwritten by `dynamic_admin_forms`
|
|
168
|
-
won't be found.
|
|
169
|
-
- Ensure that the `dynamic_admin_forms` templates are found via using `APP_DIRS` setting:
|
|
170
|
-
```python
|
|
171
|
-
TEMPLATES = [
|
|
172
|
-
{
|
|
173
|
-
'BACKEND': 'django.template.backends.django.DjangoTemplates',
|
|
174
|
-
'APP_DIRS': True,
|
|
175
|
-
...
|
|
176
|
-
},
|
|
177
|
-
]
|
|
178
|
-
```
|
|
179
|
-
- Run `python manage.py collectstatic` to include this apps Javascript code in your `settings.STATIC_ROOT` directory
|
|
163
|
+
````
|
|
164
|
+
|
|
165
|
+
|
|
180
166
|
|
|
181
167
|
|
|
182
168
|
|
|
@@ -240,6 +226,7 @@ Example: run all hooks of pre-push stage
|
|
|
240
226
|
- To build the documentation run: `sphinx-build docs/ docs/_build/html/`.
|
|
241
227
|
- Open `docs/_build/html/index.html` to see the documentation.
|
|
242
228
|
|
|
229
|
+
|
|
243
230
|
### Translation files
|
|
244
231
|
|
|
245
232
|
If you have added custom text, make sure to wrap it in `_()` where `_` is
|
|
@@ -257,6 +244,7 @@ How to compile translation files:
|
|
|
257
244
|
* `python manage.py compilemessages`
|
|
258
245
|
* Have a look at the new/changed files within `django_dynamic_admin_forms/locale`
|
|
259
246
|
|
|
247
|
+
|
|
260
248
|
### Publish to ReadTheDocs.io
|
|
261
249
|
|
|
262
250
|
- Fetch the latest changes in GitHub mirror and push them
|
|
@@ -293,3 +281,4 @@ being rendered by this updater. It works similar to well-known updaters like `py
|
|
|
293
281
|
|
|
294
282
|
To run an update, refer to the [documentation page](https://pypi.org/project/ambient-package-update/)
|
|
295
283
|
of the "ambient-package-update".
|
|
284
|
+
|
|
@@ -37,7 +37,7 @@ from django_dynamic_admin_forms import __version__ # noqa: E402
|
|
|
37
37
|
|
|
38
38
|
project = "django-dynamic-admin-forms"
|
|
39
39
|
copyright = "2024, Ambient Innovation: GmbH" # noqa: A001
|
|
40
|
-
author = "Ambient
|
|
40
|
+
author = "Ambient Digital <hello@ambient.digital>"
|
|
41
41
|
version = __version__
|
|
42
42
|
release = __version__
|
|
43
43
|
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{django_dynamic_admin_forms-3.0.0 → django_dynamic_admin_forms-3.0.2}/docs/features/changelog.rst
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{django_dynamic_admin_forms-3.0.0 → django_dynamic_admin_forms-3.0.2}/e2e/cypress/plugins/index.js
RENAMED
|
File without changes
|
|
File without changes
|
{django_dynamic_admin_forms-3.0.0 → django_dynamic_admin_forms-3.0.2}/e2e/cypress/support/index.js
RENAMED
|
File without changes
|
{django_dynamic_admin_forms-3.0.0 → django_dynamic_admin_forms-3.0.2}/e2e/cypress/support/paths.js
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{django_dynamic_admin_forms-3.0.0 → django_dynamic_admin_forms-3.0.2}/fixtures/fixtures-dev.json
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{django_dynamic_admin_forms-3.0.0 → django_dynamic_admin_forms-3.0.2}/testapp/migrations/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{django_dynamic_admin_forms-3.0.0 → django_dynamic_admin_forms-3.0.2}/tests/test_admin_generic.py
RENAMED
|
File without changes
|
{django_dynamic_admin_forms-3.0.0 → django_dynamic_admin_forms-3.0.2}/tests/test_admin_unit.py
RENAMED
|
File without changes
|