django-pfx 1.4.dev82__tar.gz → 1.4.dev86__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_pfx-1.4.dev82 → django_pfx-1.4.dev86}/PKG-INFO +1 -1
- {django_pfx-1.4.dev82 → django_pfx-1.4.dev86}/django_pfx.egg-info/PKG-INFO +1 -1
- {django_pfx-1.4.dev82 → django_pfx-1.4.dev86}/pfx/pfxcore/views/__init__.py +4 -0
- {django_pfx-1.4.dev82 → django_pfx-1.4.dev86}/pfx/pfxcore/views/fields.py +5 -1
- {django_pfx-1.4.dev82 → django_pfx-1.4.dev86}/pfx/pfxcore/views/rest_views.py +3 -3
- {django_pfx-1.4.dev82 → django_pfx-1.4.dev86}/.gitignore +0 -0
- {django_pfx-1.4.dev82 → django_pfx-1.4.dev86}/.gitlab-ci.yml +0 -0
- {django_pfx-1.4.dev82 → django_pfx-1.4.dev86}/.pre-commit-config.yaml +0 -0
- {django_pfx-1.4.dev82 → django_pfx-1.4.dev86}/LICENSE +0 -0
- {django_pfx-1.4.dev82 → django_pfx-1.4.dev86}/MANIFEST.in +0 -0
- {django_pfx-1.4.dev82 → django_pfx-1.4.dev86}/README.md +0 -0
- {django_pfx-1.4.dev82 → django_pfx-1.4.dev86}/django_pfx.egg-info/SOURCES.txt +0 -0
- {django_pfx-1.4.dev82 → django_pfx-1.4.dev86}/django_pfx.egg-info/dependency_links.txt +0 -0
- {django_pfx-1.4.dev82 → django_pfx-1.4.dev86}/django_pfx.egg-info/requires.txt +0 -0
- {django_pfx-1.4.dev82 → django_pfx-1.4.dev86}/django_pfx.egg-info/top_level.txt +0 -0
- {django_pfx-1.4.dev82 → django_pfx-1.4.dev86}/doc/Makefile +0 -0
- {django_pfx-1.4.dev82 → django_pfx-1.4.dev86}/doc/conf.py +0 -0
- {django_pfx-1.4.dev82 → django_pfx-1.4.dev86}/doc/index.rst +0 -0
- {django_pfx-1.4.dev82 → django_pfx-1.4.dev86}/doc/source/api.views.rst +0 -0
- {django_pfx-1.4.dev82 → django_pfx-1.4.dev86}/doc/source/authentication.md +0 -0
- {django_pfx-1.4.dev82 → django_pfx-1.4.dev86}/doc/source/decorator.md +0 -0
- {django_pfx-1.4.dev82 → django_pfx-1.4.dev86}/doc/source/generate_openapi.md +0 -0
- {django_pfx-1.4.dev82 → django_pfx-1.4.dev86}/doc/source/getting_started.md +0 -0
- {django_pfx-1.4.dev82 → django_pfx-1.4.dev86}/doc/source/internationalisation.md +0 -0
- {django_pfx-1.4.dev82 → django_pfx-1.4.dev86}/doc/source/model.md +0 -0
- {django_pfx-1.4.dev82 → django_pfx-1.4.dev86}/doc/source/pfx_views.md +0 -0
- {django_pfx-1.4.dev82 → django_pfx-1.4.dev86}/doc/source/profiling.md +0 -0
- {django_pfx-1.4.dev82 → django_pfx-1.4.dev86}/doc/source/settings.md +0 -0
- {django_pfx-1.4.dev82 → django_pfx-1.4.dev86}/doc/source/testing.md +0 -0
- {django_pfx-1.4.dev82 → django_pfx-1.4.dev86}/img/pfx.png +0 -0
- {django_pfx-1.4.dev82 → django_pfx-1.4.dev86}/img/pfx.svg +0 -0
- {django_pfx-1.4.dev82 → django_pfx-1.4.dev86}/make_messages +0 -0
- {django_pfx-1.4.dev82 → django_pfx-1.4.dev86}/manage.py +0 -0
- {django_pfx-1.4.dev82 → django_pfx-1.4.dev86}/pfx/__init__.py +0 -0
- {django_pfx-1.4.dev82 → django_pfx-1.4.dev86}/pfx/pfxcore/__init__.py +0 -0
- {django_pfx-1.4.dev82 → django_pfx-1.4.dev86}/pfx/pfxcore/apidoc/__init__.py +0 -0
- {django_pfx-1.4.dev82 → django_pfx-1.4.dev86}/pfx/pfxcore/apidoc/parameters.py +0 -0
- {django_pfx-1.4.dev82 → django_pfx-1.4.dev86}/pfx/pfxcore/apidoc/schema.py +0 -0
- {django_pfx-1.4.dev82 → django_pfx-1.4.dev86}/pfx/pfxcore/apidoc/tags.py +0 -0
- {django_pfx-1.4.dev82 → django_pfx-1.4.dev86}/pfx/pfxcore/apps.py +0 -0
- {django_pfx-1.4.dev82 → django_pfx-1.4.dev86}/pfx/pfxcore/decorator/__init__.py +0 -0
- {django_pfx-1.4.dev82 → django_pfx-1.4.dev86}/pfx/pfxcore/decorator/rest.py +0 -0
- {django_pfx-1.4.dev82 → django_pfx-1.4.dev86}/pfx/pfxcore/default_settings.py +0 -0
- {django_pfx-1.4.dev82 → django_pfx-1.4.dev86}/pfx/pfxcore/exceptions.py +0 -0
- {django_pfx-1.4.dev82 → django_pfx-1.4.dev86}/pfx/pfxcore/fields.py +0 -0
- {django_pfx-1.4.dev82 → django_pfx-1.4.dev86}/pfx/pfxcore/http/__init__.py +0 -0
- {django_pfx-1.4.dev82 → django_pfx-1.4.dev86}/pfx/pfxcore/http/json_response.py +0 -0
- {django_pfx-1.4.dev82 → django_pfx-1.4.dev86}/pfx/pfxcore/locale/fr/LC_MESSAGES/django.mo +0 -0
- {django_pfx-1.4.dev82 → django_pfx-1.4.dev86}/pfx/pfxcore/locale/fr/LC_MESSAGES/django.po +0 -0
- {django_pfx-1.4.dev82 → django_pfx-1.4.dev86}/pfx/pfxcore/management/__init__.py +0 -0
- {django_pfx-1.4.dev82 → django_pfx-1.4.dev86}/pfx/pfxcore/management/commands/__init__.py +0 -0
- {django_pfx-1.4.dev82 → django_pfx-1.4.dev86}/pfx/pfxcore/management/commands/makeapidoc.py +0 -0
- {django_pfx-1.4.dev82 → django_pfx-1.4.dev86}/pfx/pfxcore/management/commands/profile.py +0 -0
- {django_pfx-1.4.dev82 → django_pfx-1.4.dev86}/pfx/pfxcore/middleware/__init__.py +0 -0
- {django_pfx-1.4.dev82 → django_pfx-1.4.dev86}/pfx/pfxcore/middleware/authentication.py +0 -0
- {django_pfx-1.4.dev82 → django_pfx-1.4.dev86}/pfx/pfxcore/middleware/locale.py +0 -0
- {django_pfx-1.4.dev82 → django_pfx-1.4.dev86}/pfx/pfxcore/middleware/profiling.py +0 -0
- {django_pfx-1.4.dev82 → django_pfx-1.4.dev86}/pfx/pfxcore/migrations/0001_initial.py +0 -0
- {django_pfx-1.4.dev82 → django_pfx-1.4.dev86}/pfx/pfxcore/migrations/0002_pfxpermissionsuser.py +0 -0
- {django_pfx-1.4.dev82 → django_pfx-1.4.dev86}/pfx/pfxcore/migrations/0003_delete_pfxpermissionsuser.py +0 -0
- {django_pfx-1.4.dev82 → django_pfx-1.4.dev86}/pfx/pfxcore/migrations/__init__.py +0 -0
- {django_pfx-1.4.dev82 → django_pfx-1.4.dev86}/pfx/pfxcore/migrations/operations/__init__.py +0 -0
- {django_pfx-1.4.dev82 → django_pfx-1.4.dev86}/pfx/pfxcore/migrations/operations/permissions.py +0 -0
- {django_pfx-1.4.dev82 → django_pfx-1.4.dev86}/pfx/pfxcore/models/__init__.py +0 -0
- {django_pfx-1.4.dev82 → django_pfx-1.4.dev86}/pfx/pfxcore/models/abstract_pfx_base_user.py +0 -0
- {django_pfx-1.4.dev82 → django_pfx-1.4.dev86}/pfx/pfxcore/models/cache_mixins.py +0 -0
- {django_pfx-1.4.dev82 → django_pfx-1.4.dev86}/pfx/pfxcore/models/login_ban.py +0 -0
- {django_pfx-1.4.dev82 → django_pfx-1.4.dev86}/pfx/pfxcore/models/not_null_fields.py +0 -0
- {django_pfx-1.4.dev82 → django_pfx-1.4.dev86}/pfx/pfxcore/models/ordered_model_mixin.py +0 -0
- {django_pfx-1.4.dev82 → django_pfx-1.4.dev86}/pfx/pfxcore/models/otp_user_mixin.py +0 -0
- {django_pfx-1.4.dev82 → django_pfx-1.4.dev86}/pfx/pfxcore/models/pfx_models.py +0 -0
- {django_pfx-1.4.dev82 → django_pfx-1.4.dev86}/pfx/pfxcore/models/pfx_user.py +0 -0
- {django_pfx-1.4.dev82 → django_pfx-1.4.dev86}/pfx/pfxcore/models/user_filtered_queryset_mixin.py +0 -0
- {django_pfx-1.4.dev82 → django_pfx-1.4.dev86}/pfx/pfxcore/serializers/__init__.py +0 -0
- {django_pfx-1.4.dev82 → django_pfx-1.4.dev86}/pfx/pfxcore/serializers/json.py +0 -0
- {django_pfx-1.4.dev82 → django_pfx-1.4.dev86}/pfx/pfxcore/settings.py +0 -0
- {django_pfx-1.4.dev82 → django_pfx-1.4.dev86}/pfx/pfxcore/shortcuts.py +0 -0
- {django_pfx-1.4.dev82 → django_pfx-1.4.dev86}/pfx/pfxcore/storage/__init__.py +0 -0
- {django_pfx-1.4.dev82 → django_pfx-1.4.dev86}/pfx/pfxcore/storage/s3_storage.py +0 -0
- {django_pfx-1.4.dev82 → django_pfx-1.4.dev86}/pfx/pfxcore/templates/registration/otp_code_email.txt +0 -0
- {django_pfx-1.4.dev82 → django_pfx-1.4.dev86}/pfx/pfxcore/templates/registration/otp_code_subject.txt +0 -0
- {django_pfx-1.4.dev82 → django_pfx-1.4.dev86}/pfx/pfxcore/templates/registration/password_reset_email.txt +0 -0
- {django_pfx-1.4.dev82 → django_pfx-1.4.dev86}/pfx/pfxcore/templates/registration/password_reset_subject.txt +0 -0
- {django_pfx-1.4.dev82 → django_pfx-1.4.dev86}/pfx/pfxcore/templates/registration/welcome_email.txt +0 -0
- {django_pfx-1.4.dev82 → django_pfx-1.4.dev86}/pfx/pfxcore/templates/registration/welcome_subject.txt +0 -0
- {django_pfx-1.4.dev82 → django_pfx-1.4.dev86}/pfx/pfxcore/test.py +0 -0
- {django_pfx-1.4.dev82 → django_pfx-1.4.dev86}/pfx/pfxcore/urls.py +0 -0
- {django_pfx-1.4.dev82 → django_pfx-1.4.dev86}/pfx/pfxcore/views/authentication_views.py +0 -0
- {django_pfx-1.4.dev82 → django_pfx-1.4.dev86}/pfx/pfxcore/views/filters_views.py +0 -0
- {django_pfx-1.4.dev82 → django_pfx-1.4.dev86}/pfx/pfxcore/views/locale_views.py +0 -0
- {django_pfx-1.4.dev82 → django_pfx-1.4.dev86}/pfx/pfxcore/views/ordered_rest_view_mixin.py +0 -0
- {django_pfx-1.4.dev82 → django_pfx-1.4.dev86}/pfx/pfxcore/views/parameters/__init__.py +0 -0
- {django_pfx-1.4.dev82 → django_pfx-1.4.dev86}/pfx/pfxcore/views/parameters/date_format.py +0 -0
- {django_pfx-1.4.dev82 → django_pfx-1.4.dev86}/pfx/pfxcore/views/parameters/groups.py +0 -0
- {django_pfx-1.4.dev82 → django_pfx-1.4.dev86}/pfx/pfxcore/views/parameters/list_count.py +0 -0
- {django_pfx-1.4.dev82 → django_pfx-1.4.dev86}/pfx/pfxcore/views/parameters/list_items.py +0 -0
- {django_pfx-1.4.dev82 → django_pfx-1.4.dev86}/pfx/pfxcore/views/parameters/list_mode.py +0 -0
- {django_pfx-1.4.dev82 → django_pfx-1.4.dev86}/pfx/pfxcore/views/parameters/list_order.py +0 -0
- {django_pfx-1.4.dev82 → django_pfx-1.4.dev86}/pfx/pfxcore/views/parameters/list_search.py +0 -0
- {django_pfx-1.4.dev82 → django_pfx-1.4.dev86}/pfx/pfxcore/views/parameters/media_redirect.py +0 -0
- {django_pfx-1.4.dev82 → django_pfx-1.4.dev86}/pfx/pfxcore/views/parameters/meta_fields.py +0 -0
- {django_pfx-1.4.dev82 → django_pfx-1.4.dev86}/pfx/pfxcore/views/parameters/meta_filters.py +0 -0
- {django_pfx-1.4.dev82 → django_pfx-1.4.dev86}/pfx/pfxcore/views/parameters/meta_orders.py +0 -0
- {django_pfx-1.4.dev82 → django_pfx-1.4.dev86}/pfx/pfxcore/views/parameters/subset.py +0 -0
- {django_pfx-1.4.dev82 → django_pfx-1.4.dev86}/pfx/pfxcore/views/parameters/subset_limit.py +0 -0
- {django_pfx-1.4.dev82 → django_pfx-1.4.dev86}/pfx/pfxcore/views/parameters/subset_offset.py +0 -0
- {django_pfx-1.4.dev82 → django_pfx-1.4.dev86}/pfx/pfxcore/views/parameters/subset_page.py +0 -0
- {django_pfx-1.4.dev82 → django_pfx-1.4.dev86}/pfx/pfxcore/views/parameters/subset_page_size.py +0 -0
- {django_pfx-1.4.dev82 → django_pfx-1.4.dev86}/pfx/pfxcore/views/parameters/subset_page_subset.py +0 -0
- {django_pfx-1.4.dev82 → django_pfx-1.4.dev86}/pfx/settings/__init__.py +0 -0
- {django_pfx-1.4.dev82 → django_pfx-1.4.dev86}/pfx/settings/dev.py +0 -0
- {django_pfx-1.4.dev82 → django_pfx-1.4.dev86}/pyproject.toml +0 -0
- {django_pfx-1.4.dev82 → django_pfx-1.4.dev86}/requirements.txt +0 -0
- {django_pfx-1.4.dev82 → django_pfx-1.4.dev86}/serve-doc +0 -0
- {django_pfx-1.4.dev82 → django_pfx-1.4.dev86}/setup.cfg +0 -0
- {django_pfx-1.4.dev82 → django_pfx-1.4.dev86}/setup.py +0 -0
- {django_pfx-1.4.dev82 → django_pfx-1.4.dev86}/tests/__init__.py +0 -0
- {django_pfx-1.4.dev82 → django_pfx-1.4.dev86}/tests/locale/fr/LC_MESSAGES/django.po +0 -0
- {django_pfx-1.4.dev82 → django_pfx-1.4.dev86}/tests/migrations/0001_initial.py +0 -0
- {django_pfx-1.4.dev82 → django_pfx-1.4.dev86}/tests/migrations/__init__.py +0 -0
- {django_pfx-1.4.dev82 → django_pfx-1.4.dev86}/tests/models.py +0 -0
- {django_pfx-1.4.dev82 → django_pfx-1.4.dev86}/tests/settings/__init__.py +0 -0
- {django_pfx-1.4.dev82 → django_pfx-1.4.dev86}/tests/settings/ci.py +0 -0
- {django_pfx-1.4.dev82 → django_pfx-1.4.dev86}/tests/settings/common.py +0 -0
- {django_pfx-1.4.dev82 → django_pfx-1.4.dev86}/tests/settings/dev.py +0 -0
- {django_pfx-1.4.dev82 → django_pfx-1.4.dev86}/tests/settings/dev_custom_example.py +0 -0
- {django_pfx-1.4.dev82 → django_pfx-1.4.dev86}/tests/settings/dev_default.py +0 -0
- {django_pfx-1.4.dev82 → django_pfx-1.4.dev86}/tests/tests/__init__.py +0 -0
- {django_pfx-1.4.dev82 → django_pfx-1.4.dev86}/tests/tests/basic_api_errors.py +0 -0
- {django_pfx-1.4.dev82 → django_pfx-1.4.dev86}/tests/tests/basic_api_test.py +0 -0
- {django_pfx-1.4.dev82 → django_pfx-1.4.dev86}/tests/tests/test_api_doc.py +0 -0
- {django_pfx-1.4.dev82 → django_pfx-1.4.dev86}/tests/tests/test_api_doc_search.py +0 -0
- {django_pfx-1.4.dev82 → django_pfx-1.4.dev86}/tests/tests/test_auth_api.py +0 -0
- {django_pfx-1.4.dev82 → django_pfx-1.4.dev86}/tests/tests/test_body_mixin.py +0 -0
- {django_pfx-1.4.dev82 → django_pfx-1.4.dev86}/tests/tests/test_cache.py +0 -0
- {django_pfx-1.4.dev82 → django_pfx-1.4.dev86}/tests/tests/test_client.py +0 -0
- {django_pfx-1.4.dev82 → django_pfx-1.4.dev86}/tests/tests/test_fields.py +0 -0
- {django_pfx-1.4.dev82 → django_pfx-1.4.dev86}/tests/tests/test_filters.py +0 -0
- {django_pfx-1.4.dev82 → django_pfx-1.4.dev86}/tests/tests/test_locale_api.py +0 -0
- {django_pfx-1.4.dev82 → django_pfx-1.4.dev86}/tests/tests/test_ordered_rest_view_mixin.py +0 -0
- {django_pfx-1.4.dev82 → django_pfx-1.4.dev86}/tests/tests/test_perm_tests.py +0 -0
- {django_pfx-1.4.dev82 → django_pfx-1.4.dev86}/tests/tests/test_permissions.py +0 -0
- {django_pfx-1.4.dev82 → django_pfx-1.4.dev86}/tests/tests/test_perms_api.py +0 -0
- {django_pfx-1.4.dev82 → django_pfx-1.4.dev86}/tests/tests/test_post_migrate_groups_update.py +0 -0
- {django_pfx-1.4.dev82 → django_pfx-1.4.dev86}/tests/tests/test_profiling_middleware.py +0 -0
- {django_pfx-1.4.dev82 → django_pfx-1.4.dev86}/tests/tests/test_settings.py +0 -0
- {django_pfx-1.4.dev82 → django_pfx-1.4.dev86}/tests/tests/test_shortcuts.py +0 -0
- {django_pfx-1.4.dev82 → django_pfx-1.4.dev86}/tests/tests/test_timezone_middleware.py +0 -0
- {django_pfx-1.4.dev82 → django_pfx-1.4.dev86}/tests/tests/test_tools.py +0 -0
- {django_pfx-1.4.dev82 → django_pfx-1.4.dev86}/tests/tests/test_user_queryset.py +0 -0
- {django_pfx-1.4.dev82 → django_pfx-1.4.dev86}/tests/tests/test_view_decorators.py +0 -0
- {django_pfx-1.4.dev82 → django_pfx-1.4.dev86}/tests/tests/test_view_fields.py +0 -0
- {django_pfx-1.4.dev82 → django_pfx-1.4.dev86}/tests/urls.py +0 -0
- {django_pfx-1.4.dev82 → django_pfx-1.4.dev86}/tests/views.py +0 -0
- {django_pfx-1.4.dev82 → django_pfx-1.4.dev86}/tests_base_user/__init__.py +0 -0
- {django_pfx-1.4.dev82 → django_pfx-1.4.dev86}/tests_base_user/migrations/0001_initial.py +0 -0
- {django_pfx-1.4.dev82 → django_pfx-1.4.dev86}/tests_base_user/migrations/__init__.py +0 -0
- {django_pfx-1.4.dev82 → django_pfx-1.4.dev86}/tests_base_user/settings/__init__.py +0 -0
- {django_pfx-1.4.dev82 → django_pfx-1.4.dev86}/tests_base_user/settings/ci.py +0 -0
- {django_pfx-1.4.dev82 → django_pfx-1.4.dev86}/tests_base_user/settings/common.py +0 -0
- {django_pfx-1.4.dev82 → django_pfx-1.4.dev86}/tests_base_user/settings/dev.py +0 -0
- {django_pfx-1.4.dev82 → django_pfx-1.4.dev86}/tests_base_user/settings/dev_custom_example.py +0 -0
- {django_pfx-1.4.dev82 → django_pfx-1.4.dev86}/tests_base_user/settings/dev_default.py +0 -0
- {django_pfx-1.4.dev82 → django_pfx-1.4.dev86}/tests_base_user/tests/__init__.py +0 -0
- {django_pfx-1.4.dev82 → django_pfx-1.4.dev86}/tests_base_user/tests/test_api.py +0 -0
- {django_pfx-1.4.dev82 → django_pfx-1.4.dev86}/tests_base_user/tests/test_auth_api.py +0 -0
- {django_pfx-1.4.dev82 → django_pfx-1.4.dev86}/tests_base_user/urls.py +0 -0
- {django_pfx-1.4.dev82 → django_pfx-1.4.dev86}/tests_base_user/views.py +0 -0
- {django_pfx-1.4.dev82 → django_pfx-1.4.dev86}/tests_custom_user/__init__.py +0 -0
- {django_pfx-1.4.dev82 → django_pfx-1.4.dev86}/tests_custom_user/migrations/0001_initial.py +0 -0
- {django_pfx-1.4.dev82 → django_pfx-1.4.dev86}/tests_custom_user/migrations/__init__.py +0 -0
- {django_pfx-1.4.dev82 → django_pfx-1.4.dev86}/tests_custom_user/models.py +0 -0
- {django_pfx-1.4.dev82 → django_pfx-1.4.dev86}/tests_custom_user/settings/__init__.py +0 -0
- {django_pfx-1.4.dev82 → django_pfx-1.4.dev86}/tests_custom_user/settings/ci.py +0 -0
- {django_pfx-1.4.dev82 → django_pfx-1.4.dev86}/tests_custom_user/settings/common.py +0 -0
- {django_pfx-1.4.dev82 → django_pfx-1.4.dev86}/tests_custom_user/settings/dev.py +0 -0
- {django_pfx-1.4.dev82 → django_pfx-1.4.dev86}/tests_custom_user/settings/dev_custom_example.py +0 -0
- {django_pfx-1.4.dev82 → django_pfx-1.4.dev86}/tests_custom_user/settings/dev_default.py +0 -0
- {django_pfx-1.4.dev82 → django_pfx-1.4.dev86}/tests_custom_user/tests/__init__.py +0 -0
- {django_pfx-1.4.dev82 → django_pfx-1.4.dev86}/tests_custom_user/tests/test_api.py +0 -0
- {django_pfx-1.4.dev82 → django_pfx-1.4.dev86}/tests_custom_user/tests/test_auth_api.py +0 -0
- {django_pfx-1.4.dev82 → django_pfx-1.4.dev86}/tests_custom_user/urls.py +0 -0
- {django_pfx-1.4.dev82 → django_pfx-1.4.dev86}/tests_custom_user/views.py +0 -0
|
@@ -12,9 +12,13 @@ from .ordered_rest_view_mixin import OrderedRestViewMixin
|
|
|
12
12
|
from .rest_views import (
|
|
13
13
|
BaseRestView,
|
|
14
14
|
BodyMixin,
|
|
15
|
+
CreatePermsRestViewMixin,
|
|
15
16
|
CreateRestViewMixin,
|
|
17
|
+
DeletePermsRestViewMixin,
|
|
16
18
|
DeleteRestViewMixin,
|
|
19
|
+
DetailPermsRestViewMixin,
|
|
17
20
|
DetailRestViewMixin,
|
|
21
|
+
ListPermsRestViewMixin,
|
|
18
22
|
ListRestViewMixin,
|
|
19
23
|
MediaPermsRestViewMixin,
|
|
20
24
|
MediaRestViewMixin,
|
|
@@ -34,6 +34,7 @@ class FieldType:
|
|
|
34
34
|
BooleanField = "BooleanField"
|
|
35
35
|
IntegerField = "IntegerField"
|
|
36
36
|
FloatField = "FloatField"
|
|
37
|
+
DecimalField = "DecimalField"
|
|
37
38
|
DateField = "DateField"
|
|
38
39
|
DateTimeField = "DateTimeField"
|
|
39
40
|
MinutesDurationField = "MinutesDurationField"
|
|
@@ -47,6 +48,7 @@ class FieldType:
|
|
|
47
48
|
(models.BooleanField, BooleanField),
|
|
48
49
|
(models.IntegerField, IntegerField),
|
|
49
50
|
(models.FloatField, FloatField),
|
|
51
|
+
(models.DecimalField, DecimalField),
|
|
50
52
|
(models.DateTimeField, DateTimeField),
|
|
51
53
|
(models.DateField, DateField),
|
|
52
54
|
(models.TextField, TextField),
|
|
@@ -64,6 +66,7 @@ class FieldType:
|
|
|
64
66
|
BooleanField: "boolean",
|
|
65
67
|
IntegerField: "number",
|
|
66
68
|
FloatField: "number",
|
|
69
|
+
DecimalField: "string",
|
|
67
70
|
DateField: "string",
|
|
68
71
|
DateTimeField: "string",
|
|
69
72
|
MinutesDurationField: "object",
|
|
@@ -74,8 +77,9 @@ class FieldType:
|
|
|
74
77
|
}
|
|
75
78
|
|
|
76
79
|
@classmethod
|
|
77
|
-
def register_binding(cls, field_class, field_type):
|
|
80
|
+
def register_binding(cls, field_class, field_type, apidoc_type='object'):
|
|
78
81
|
cls.MODEL_FIELD_BINDING.insert(0, (field_class, field_type))
|
|
82
|
+
cls.APIDOC_FIELD_BINDING[field_type] = apidoc_type
|
|
79
83
|
|
|
80
84
|
@classmethod
|
|
81
85
|
def from_model_field(cls, field_class):
|
|
@@ -306,7 +306,7 @@ class ModelResponseMixin(ModelMixin):
|
|
|
306
306
|
_f.alias: _f.to_json(o, self.format_date)
|
|
307
307
|
for _f in self.get_fields().values()}, meta=meta))
|
|
308
308
|
|
|
309
|
-
def validate(self, obj, created=False, **kwargs):
|
|
309
|
+
def validate(self, obj, rel_data=None, created=False, **kwargs):
|
|
310
310
|
"""Validate an object instance.
|
|
311
311
|
|
|
312
312
|
can be overridden to customize validation on a given view
|
|
@@ -1038,7 +1038,7 @@ class CreateRestViewMixin(ModelBodyMixin, ModelResponseMixin):
|
|
|
1038
1038
|
forbidden = True
|
|
1039
1039
|
self.set_values(obj, **data)
|
|
1040
1040
|
try:
|
|
1041
|
-
self.validate(obj, created=True)
|
|
1041
|
+
self.validate(obj, rel_data=rel_data, created=True)
|
|
1042
1042
|
if forbidden:
|
|
1043
1043
|
raise ForbiddenError
|
|
1044
1044
|
return self.is_valid(obj, created=True, rel_data=rel_data)
|
|
@@ -1096,7 +1096,7 @@ class UpdateRestViewMixin(ModelBodyMixin, ModelResponseMixin):
|
|
|
1096
1096
|
forbidden = True
|
|
1097
1097
|
self.set_values(obj, **data)
|
|
1098
1098
|
try:
|
|
1099
|
-
self.validate(obj, created=False)
|
|
1099
|
+
self.validate(obj, rel_data=rel_data, created=False)
|
|
1100
1100
|
if forbidden:
|
|
1101
1101
|
raise ForbiddenError
|
|
1102
1102
|
return self.is_valid(obj, created=False, rel_data=rel_data)
|
|
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
|
|
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
|
|
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
|
|
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_pfx-1.4.dev82 → django_pfx-1.4.dev86}/pfx/pfxcore/migrations/0002_pfxpermissionsuser.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{django_pfx-1.4.dev82 → django_pfx-1.4.dev86}/pfx/pfxcore/migrations/operations/permissions.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
|
|
File without changes
|
{django_pfx-1.4.dev82 → django_pfx-1.4.dev86}/pfx/pfxcore/models/user_filtered_queryset_mixin.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{django_pfx-1.4.dev82 → django_pfx-1.4.dev86}/pfx/pfxcore/templates/registration/otp_code_email.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{django_pfx-1.4.dev82 → django_pfx-1.4.dev86}/pfx/pfxcore/templates/registration/welcome_email.txt
RENAMED
|
File without changes
|
{django_pfx-1.4.dev82 → django_pfx-1.4.dev86}/pfx/pfxcore/templates/registration/welcome_subject.txt
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
|
|
File without changes
|
{django_pfx-1.4.dev82 → django_pfx-1.4.dev86}/pfx/pfxcore/views/parameters/media_redirect.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
|
{django_pfx-1.4.dev82 → django_pfx-1.4.dev86}/pfx/pfxcore/views/parameters/subset_page_size.py
RENAMED
|
File without changes
|
{django_pfx-1.4.dev82 → django_pfx-1.4.dev86}/pfx/pfxcore/views/parameters/subset_page_subset.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
|
|
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
|
|
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_pfx-1.4.dev82 → django_pfx-1.4.dev86}/tests/tests/test_post_migrate_groups_update.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
|
|
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_pfx-1.4.dev82 → django_pfx-1.4.dev86}/tests_base_user/settings/dev_custom_example.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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{django_pfx-1.4.dev82 → django_pfx-1.4.dev86}/tests_custom_user/settings/dev_custom_example.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|