A better, user-friendly JSON editing form field for Django admin. Also supports Postgres ArrayField.
BSD 3-Clause "New" or "Revised" License
352
stars
34
forks
source link
Fix to exclude tests from wheel package on PyPI #176
Closed
browniebroke closed 2 months ago
Fix #165
Tested by running
python -m build
and checking the content of wheelBefore
➜ unzip -l dist/*.whl
``` Archive: dist/django_jsonform-2.22.0-py3-none-any.whl Length Date Time Name --------- ---------- ----- ---- 22 07-25-2024 07:30 django_jsonform/__init__.py 63 07-25-2024 07:30 django_jsonform/admin.py 97 07-25-2024 07:30 django_jsonform/apps.py 244 07-25-2024 07:30 django_jsonform/constants.py 306 07-25-2024 07:30 django_jsonform/exceptions.py 60 07-25-2024 07:30 django_jsonform/tests.py 156 07-25-2024 07:30 django_jsonform/urls.py 3569 07-25-2024 07:30 django_jsonform/utils.py 21360 07-25-2024 07:30 django_jsonform/validators.py 981 07-25-2024 07:30 django_jsonform/views.py 4068 07-25-2024 07:30 django_jsonform/widgets.py 0 07-25-2024 07:30 django_jsonform/forms/__init__.py 3613 07-25-2024 07:30 django_jsonform/forms/compat.py 4294 07-25-2024 07:30 django_jsonform/forms/fields.py 0 07-25-2024 07:30 django_jsonform/models/__init__.py 3764 07-25-2024 07:30 django_jsonform/models/compat.py 2097 07-25-2024 07:30 django_jsonform/models/fields.py 4521 07-25-2024 07:30 django_jsonform/static/django_jsonform/index.js 87267 07-25-2024 07:30 django_jsonform/static/django_jsonform/react-json-form.js 31845 07-25-2024 07:30 django_jsonform/static/django_jsonform/style.css 1374 07-25-2024 07:30 django_jsonform/static/django_jsonform/img/arrow-icons.svg 240 07-25-2024 07:30 django_jsonform/static/django_jsonform/img/collapsed-indicator-bg-dark.svg 240 07-25-2024 07:30 django_jsonform/static/django_jsonform/img/collapsed-indicator-bg.svg 2698 07-25-2024 07:30 django_jsonform/static/django_jsonform/img/control-icons.svg 331 07-25-2024 07:30 django_jsonform/static/django_jsonform/img/icon-addlink.svg 380 07-25-2024 07:30 django_jsonform/static/django_jsonform/img/icon-changelink.svg 392 07-25-2024 07:30 django_jsonform/static/django_jsonform/img/icon-deletelink.svg 120585 07-25-2024 07:30 django_jsonform/static/django_jsonform/vendor/react-dom.production.min.js 41590 07-25-2024 07:30 django_jsonform/static/django_jsonform/vendor/react-modal.min.js 11440 07-25-2024 07:30 django_jsonform/static/django_jsonform/vendor/react.production.min.js 202 07-25-2024 07:30 django_jsonform/templates/django_jsonform/attrs.html 304 07-25-2024 07:30 django_jsonform/templates/django_jsonform/editor.html 0 07-25-2024 07:30 django_jsonform/templatetags/__init__.py 596 07-25-2024 07:30 django_jsonform/templatetags/django_jsonform.py 0 07-25-2024 07:30 tests/__init__.py 444 07-25-2024 07:30 tests/__main__.py 713 07-25-2024 07:30 tests/django_settings.py 774 07-25-2024 07:30 tests/test_templatetags.py 2370 07-25-2024 07:30 tests/test_utils.py 55258 07-25-2024 07:30 tests/test_validators.py 1910 07-25-2024 07:30 tests/test_widgets.py 0 07-25-2024 07:30 tests/models/__init__.py 484 07-25-2024 07:30 tests/models/test_fields.py 1478 07-25-2024 07:32 django_jsonform-2.22.0.dist-info/LICENSE.txt 3426 07-25-2024 07:32 django_jsonform-2.22.0.dist-info/METADATA 91 07-25-2024 07:32 django_jsonform-2.22.0.dist-info/WHEEL 22 07-25-2024 07:32 django_jsonform-2.22.0.dist-info/top_level.txt 4522 07-25-2024 07:32 django_jsonform-2.22.0.dist-info/RECORD --------- ------- 420191 48 files ```After
➜ unzip -l dist/*.whl
``` Archive: dist/django_jsonform-2.22.0-py3-none-any.whl Length Date Time Name --------- ---------- ----- ---- 22 07-25-2024 07:30 django_jsonform/__init__.py 63 07-25-2024 07:30 django_jsonform/admin.py 97 07-25-2024 07:30 django_jsonform/apps.py 244 07-25-2024 07:30 django_jsonform/constants.py 306 07-25-2024 07:30 django_jsonform/exceptions.py 60 07-25-2024 07:30 django_jsonform/tests.py 156 07-25-2024 07:30 django_jsonform/urls.py 3569 07-25-2024 07:30 django_jsonform/utils.py 21360 07-25-2024 07:30 django_jsonform/validators.py 981 07-25-2024 07:30 django_jsonform/views.py 4068 07-25-2024 07:30 django_jsonform/widgets.py 0 07-25-2024 07:30 django_jsonform/forms/__init__.py 3613 07-25-2024 07:30 django_jsonform/forms/compat.py 4294 07-25-2024 07:30 django_jsonform/forms/fields.py 0 07-25-2024 07:30 django_jsonform/models/__init__.py 3764 07-25-2024 07:30 django_jsonform/models/compat.py 2097 07-25-2024 07:30 django_jsonform/models/fields.py 4521 07-25-2024 07:30 django_jsonform/static/django_jsonform/index.js 87267 07-25-2024 07:30 django_jsonform/static/django_jsonform/react-json-form.js 31845 07-25-2024 07:30 django_jsonform/static/django_jsonform/style.css 1374 07-25-2024 07:30 django_jsonform/static/django_jsonform/img/arrow-icons.svg 240 07-25-2024 07:30 django_jsonform/static/django_jsonform/img/collapsed-indicator-bg-dark.svg 240 07-25-2024 07:30 django_jsonform/static/django_jsonform/img/collapsed-indicator-bg.svg 2698 07-25-2024 07:30 django_jsonform/static/django_jsonform/img/control-icons.svg 331 07-25-2024 07:30 django_jsonform/static/django_jsonform/img/icon-addlink.svg 380 07-25-2024 07:30 django_jsonform/static/django_jsonform/img/icon-changelink.svg 392 07-25-2024 07:30 django_jsonform/static/django_jsonform/img/icon-deletelink.svg 120585 07-25-2024 07:30 django_jsonform/static/django_jsonform/vendor/react-dom.production.min.js 41590 07-25-2024 07:30 django_jsonform/static/django_jsonform/vendor/react-modal.min.js 11440 07-25-2024 07:30 django_jsonform/static/django_jsonform/vendor/react.production.min.js 202 07-25-2024 07:30 django_jsonform/templates/django_jsonform/attrs.html 304 07-25-2024 07:30 django_jsonform/templates/django_jsonform/editor.html 0 07-25-2024 07:30 django_jsonform/templatetags/__init__.py 596 07-25-2024 07:30 django_jsonform/templatetags/django_jsonform.py 1478 07-25-2024 07:34 django_jsonform-2.22.0.dist-info/LICENSE.txt 3426 07-25-2024 07:34 django_jsonform-2.22.0.dist-info/METADATA 91 07-25-2024 07:34 django_jsonform-2.22.0.dist-info/WHEEL 16 07-25-2024 07:34 django_jsonform-2.22.0.dist-info/top_level.txt 3819 07-25-2024 07:34 django_jsonform-2.22.0.dist-info/RECORD --------- ------- 357529 39 files ```➜ tar tf dist/*.tar.gz
``` django_jsonform-2.22.0/ django_jsonform-2.22.0/LICENSE.txt django_jsonform-2.22.0/MANIFEST.in django_jsonform-2.22.0/PKG-INFO django_jsonform-2.22.0/README.md django_jsonform-2.22.0/django_jsonform/ django_jsonform-2.22.0/django_jsonform/__init__.py django_jsonform-2.22.0/django_jsonform/admin.py django_jsonform-2.22.0/django_jsonform/apps.py django_jsonform-2.22.0/django_jsonform/constants.py django_jsonform-2.22.0/django_jsonform/exceptions.py django_jsonform-2.22.0/django_jsonform/forms/ django_jsonform-2.22.0/django_jsonform/forms/__init__.py django_jsonform-2.22.0/django_jsonform/forms/compat.py django_jsonform-2.22.0/django_jsonform/forms/fields.py django_jsonform-2.22.0/django_jsonform/models/ django_jsonform-2.22.0/django_jsonform/models/__init__.py django_jsonform-2.22.0/django_jsonform/models/compat.py django_jsonform-2.22.0/django_jsonform/models/fields.py django_jsonform-2.22.0/django_jsonform/static/ django_jsonform-2.22.0/django_jsonform/static/django_jsonform/ django_jsonform-2.22.0/django_jsonform/static/django_jsonform/img/ django_jsonform-2.22.0/django_jsonform/static/django_jsonform/img/arrow-icons.svg django_jsonform-2.22.0/django_jsonform/static/django_jsonform/img/collapsed-indicator-bg-dark.svg django_jsonform-2.22.0/django_jsonform/static/django_jsonform/img/collapsed-indicator-bg.svg django_jsonform-2.22.0/django_jsonform/static/django_jsonform/img/control-icons.svg django_jsonform-2.22.0/django_jsonform/static/django_jsonform/img/icon-addlink.svg django_jsonform-2.22.0/django_jsonform/static/django_jsonform/img/icon-changelink.svg django_jsonform-2.22.0/django_jsonform/static/django_jsonform/img/icon-deletelink.svg django_jsonform-2.22.0/django_jsonform/static/django_jsonform/index.js django_jsonform-2.22.0/django_jsonform/static/django_jsonform/react-json-form.js django_jsonform-2.22.0/django_jsonform/static/django_jsonform/style.css django_jsonform-2.22.0/django_jsonform/static/django_jsonform/vendor/ django_jsonform-2.22.0/django_jsonform/static/django_jsonform/vendor/react-dom.production.min.js django_jsonform-2.22.0/django_jsonform/static/django_jsonform/vendor/react-modal.min.js django_jsonform-2.22.0/django_jsonform/static/django_jsonform/vendor/react.production.min.js django_jsonform-2.22.0/django_jsonform/templates/ django_jsonform-2.22.0/django_jsonform/templates/django_jsonform/ django_jsonform-2.22.0/django_jsonform/templates/django_jsonform/attrs.html django_jsonform-2.22.0/django_jsonform/templates/django_jsonform/editor.html django_jsonform-2.22.0/django_jsonform/templatetags/ django_jsonform-2.22.0/django_jsonform/templatetags/__init__.py django_jsonform-2.22.0/django_jsonform/templatetags/django_jsonform.py django_jsonform-2.22.0/django_jsonform/tests.py django_jsonform-2.22.0/django_jsonform/urls.py django_jsonform-2.22.0/django_jsonform/utils.py django_jsonform-2.22.0/django_jsonform/validators.py django_jsonform-2.22.0/django_jsonform/views.py django_jsonform-2.22.0/django_jsonform/widgets.py django_jsonform-2.22.0/django_jsonform.egg-info/ django_jsonform-2.22.0/django_jsonform.egg-info/PKG-INFO django_jsonform-2.22.0/django_jsonform.egg-info/SOURCES.txt django_jsonform-2.22.0/django_jsonform.egg-info/dependency_links.txt django_jsonform-2.22.0/django_jsonform.egg-info/not-zip-safe django_jsonform-2.22.0/django_jsonform.egg-info/requires.txt django_jsonform-2.22.0/django_jsonform.egg-info/top_level.txt django_jsonform-2.22.0/setup.cfg django_jsonform-2.22.0/setup.py django_jsonform-2.22.0/tests/ django_jsonform-2.22.0/tests/__init__.py django_jsonform-2.22.0/tests/__main__.py django_jsonform-2.22.0/tests/django_settings.py django_jsonform-2.22.0/tests/models/ django_jsonform-2.22.0/tests/models/__init__.py django_jsonform-2.22.0/tests/models/test_fields.py django_jsonform-2.22.0/tests/test_templatetags.py django_jsonform-2.22.0/tests/test_utils.py django_jsonform-2.22.0/tests/test_validators.py django_jsonform-2.22.0/tests/test_widgets.py ```