django-pfx 1.4.dev132__tar.gz → 1.4.dev136__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.dev132 → django_pfx-1.4.dev136}/PKG-INFO +1 -1
- {django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/django_pfx.egg-info/PKG-INFO +1 -1
- {django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/django_pfx.egg-info/SOURCES.txt +1 -0
- {django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/pfx/pfxcore/locale/fr/LC_MESSAGES/django.po +2 -2
- {django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/pfx/pfxcore/views/fields.py +2 -7
- {django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/pfx/pfxcore/views/rest_views.py +9 -4
- {django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/tests/tests/__init__.py +1 -0
- django_pfx-1.4.dev136/tests/tests/test_fields_date.py +60 -0
- {django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/.gitignore +0 -0
- {django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/.gitlab-ci.yml +0 -0
- {django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/.pre-commit-config.yaml +0 -0
- {django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/LICENSE +0 -0
- {django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/MANIFEST.in +0 -0
- {django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/README.md +0 -0
- {django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/django_pfx.egg-info/dependency_links.txt +0 -0
- {django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/django_pfx.egg-info/requires.txt +0 -0
- {django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/django_pfx.egg-info/top_level.txt +0 -0
- {django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/doc/Makefile +0 -0
- {django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/doc/conf.py +0 -0
- {django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/doc/index.rst +0 -0
- {django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/doc/source/api.views.rst +0 -0
- {django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/doc/source/authentication.md +0 -0
- {django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/doc/source/decorator.md +0 -0
- {django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/doc/source/generate_openapi.md +0 -0
- {django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/doc/source/getting_started.md +0 -0
- {django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/doc/source/internationalisation.md +0 -0
- {django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/doc/source/model.md +0 -0
- {django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/doc/source/pfx_views.md +0 -0
- {django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/doc/source/profiling.md +0 -0
- {django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/doc/source/settings.md +0 -0
- {django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/doc/source/testing.md +0 -0
- {django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/img/pfx.png +0 -0
- {django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/img/pfx.svg +0 -0
- {django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/make_messages +0 -0
- {django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/manage.py +0 -0
- {django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/pfx/__init__.py +0 -0
- {django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/pfx/pfxcore/__init__.py +0 -0
- {django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/pfx/pfxcore/apidoc/__init__.py +0 -0
- {django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/pfx/pfxcore/apidoc/parameters.py +0 -0
- {django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/pfx/pfxcore/apidoc/schema.py +0 -0
- {django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/pfx/pfxcore/apidoc/tags.py +0 -0
- {django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/pfx/pfxcore/apps.py +0 -0
- {django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/pfx/pfxcore/decorator/__init__.py +0 -0
- {django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/pfx/pfxcore/decorator/rest.py +0 -0
- {django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/pfx/pfxcore/default_settings.py +0 -0
- {django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/pfx/pfxcore/exceptions.py +0 -0
- {django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/pfx/pfxcore/fields/__init__.py +0 -0
- {django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/pfx/pfxcore/fields/decimal_field.py +0 -0
- {django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/pfx/pfxcore/fields/media_field.py +0 -0
- {django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/pfx/pfxcore/fields/minutes_duration_field.py +0 -0
- {django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/pfx/pfxcore/fields/nh3_field.py +0 -0
- {django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/pfx/pfxcore/http/__init__.py +0 -0
- {django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/pfx/pfxcore/http/json_response.py +0 -0
- {django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/pfx/pfxcore/locale/fr/LC_MESSAGES/django.mo +0 -0
- {django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/pfx/pfxcore/management/__init__.py +0 -0
- {django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/pfx/pfxcore/management/commands/__init__.py +0 -0
- {django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/pfx/pfxcore/management/commands/makeapidoc.py +0 -0
- {django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/pfx/pfxcore/management/commands/profile.py +0 -0
- {django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/pfx/pfxcore/middleware/__init__.py +0 -0
- {django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/pfx/pfxcore/middleware/authentication.py +0 -0
- {django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/pfx/pfxcore/middleware/locale.py +0 -0
- {django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/pfx/pfxcore/middleware/profiling.py +0 -0
- {django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/pfx/pfxcore/migrations/0001_initial.py +0 -0
- {django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/pfx/pfxcore/migrations/0002_pfxpermissionsuser.py +0 -0
- {django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/pfx/pfxcore/migrations/0003_delete_pfxpermissionsuser.py +0 -0
- {django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/pfx/pfxcore/migrations/__init__.py +0 -0
- {django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/pfx/pfxcore/migrations/operations/__init__.py +0 -0
- {django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/pfx/pfxcore/migrations/operations/permissions.py +0 -0
- {django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/pfx/pfxcore/models/__init__.py +0 -0
- {django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/pfx/pfxcore/models/abstract_pfx_base_user.py +0 -0
- {django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/pfx/pfxcore/models/cache_mixins.py +0 -0
- {django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/pfx/pfxcore/models/login_ban.py +0 -0
- {django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/pfx/pfxcore/models/not_null_fields.py +0 -0
- {django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/pfx/pfxcore/models/ordered_model_mixin.py +0 -0
- {django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/pfx/pfxcore/models/otp_user_mixin.py +0 -0
- {django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/pfx/pfxcore/models/pfx_models.py +0 -0
- {django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/pfx/pfxcore/models/pfx_user.py +0 -0
- {django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/pfx/pfxcore/models/user_filtered_queryset_mixin.py +0 -0
- {django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/pfx/pfxcore/serializers/__init__.py +0 -0
- {django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/pfx/pfxcore/serializers/json.py +0 -0
- {django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/pfx/pfxcore/settings.py +0 -0
- {django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/pfx/pfxcore/shortcuts.py +0 -0
- {django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/pfx/pfxcore/storage/__init__.py +0 -0
- {django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/pfx/pfxcore/storage/exceptions.py +0 -0
- {django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/pfx/pfxcore/storage/local_storage.py +0 -0
- {django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/pfx/pfxcore/storage/s3_storage.py +0 -0
- {django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/pfx/pfxcore/templates/registration/otp_code_email.txt +0 -0
- {django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/pfx/pfxcore/templates/registration/otp_code_subject.txt +0 -0
- {django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/pfx/pfxcore/templates/registration/password_reset_email.txt +0 -0
- {django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/pfx/pfxcore/templates/registration/password_reset_subject.txt +0 -0
- {django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/pfx/pfxcore/templates/registration/welcome_email.txt +0 -0
- {django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/pfx/pfxcore/templates/registration/welcome_subject.txt +0 -0
- {django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/pfx/pfxcore/test.py +0 -0
- {django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/pfx/pfxcore/urls.py +0 -0
- {django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/pfx/pfxcore/views/__init__.py +0 -0
- {django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/pfx/pfxcore/views/authentication_views.py +0 -0
- {django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/pfx/pfxcore/views/filters_views.py +0 -0
- {django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/pfx/pfxcore/views/locale_views.py +0 -0
- {django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/pfx/pfxcore/views/media_rest_view_mixin.py +0 -0
- {django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/pfx/pfxcore/views/ordered_rest_view_mixin.py +0 -0
- {django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/pfx/pfxcore/views/parameters/__init__.py +0 -0
- {django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/pfx/pfxcore/views/parameters/date_format.py +0 -0
- {django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/pfx/pfxcore/views/parameters/groups.py +0 -0
- {django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/pfx/pfxcore/views/parameters/list_count.py +0 -0
- {django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/pfx/pfxcore/views/parameters/list_items.py +0 -0
- {django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/pfx/pfxcore/views/parameters/list_mode.py +0 -0
- {django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/pfx/pfxcore/views/parameters/list_order.py +0 -0
- {django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/pfx/pfxcore/views/parameters/list_search.py +0 -0
- {django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/pfx/pfxcore/views/parameters/media_redirect.py +0 -0
- {django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/pfx/pfxcore/views/parameters/meta_fields.py +0 -0
- {django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/pfx/pfxcore/views/parameters/meta_filters.py +0 -0
- {django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/pfx/pfxcore/views/parameters/meta_orders.py +0 -0
- {django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/pfx/pfxcore/views/parameters/subset.py +0 -0
- {django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/pfx/pfxcore/views/parameters/subset_limit.py +0 -0
- {django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/pfx/pfxcore/views/parameters/subset_offset.py +0 -0
- {django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/pfx/pfxcore/views/parameters/subset_page.py +0 -0
- {django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/pfx/pfxcore/views/parameters/subset_page_size.py +0 -0
- {django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/pfx/pfxcore/views/parameters/subset_page_subset.py +0 -0
- {django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/pfx/settings/__init__.py +0 -0
- {django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/pfx/settings/dev.py +0 -0
- {django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/pyproject.toml +0 -0
- {django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/requirements.txt +0 -0
- {django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/serve-doc +0 -0
- {django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/setup.cfg +0 -0
- {django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/setup.py +0 -0
- {django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/tests/__init__.py +0 -0
- {django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/tests/apps.py +0 -0
- {django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/tests/locale/fr/LC_MESSAGES/django.po +0 -0
- {django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/tests/migrations/0001_initial.py +0 -0
- {django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/tests/migrations/0002_alter_book_cover.py +0 -0
- {django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/tests/migrations/0003_book_local_file.py +0 -0
- {django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/tests/migrations/__init__.py +0 -0
- {django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/tests/models.py +0 -0
- {django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/tests/settings/__init__.py +0 -0
- {django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/tests/settings/ci.py +0 -0
- {django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/tests/settings/common.py +0 -0
- {django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/tests/settings/dev.py +0 -0
- {django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/tests/settings/dev_custom_example.py +0 -0
- {django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/tests/settings/dev_default.py +0 -0
- {django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/tests/tests/basic_api_errors.py +0 -0
- {django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/tests/tests/basic_api_test.py +0 -0
- {django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/tests/tests/test_api_doc.py +0 -0
- {django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/tests/tests/test_api_doc_search.py +0 -0
- {django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/tests/tests/test_auth_api.py +0 -0
- {django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/tests/tests/test_body_mixin.py +0 -0
- {django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/tests/tests/test_cache.py +0 -0
- {django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/tests/tests/test_client.py +0 -0
- {django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/tests/tests/test_fields_choices.py +0 -0
- {django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/tests/tests/test_fields_decimal.py +0 -0
- {django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/tests/tests/test_fields_minutes_duration.py +0 -0
- {django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/tests/tests/test_fields_nh3.py +0 -0
- {django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/tests/tests/test_filters.py +0 -0
- {django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/tests/tests/test_locale_api.py +0 -0
- {django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/tests/tests/test_ordered_rest_view_mixin.py +0 -0
- {django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/tests/tests/test_perm_tests.py +0 -0
- {django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/tests/tests/test_permissions.py +0 -0
- {django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/tests/tests/test_perms_api.py +0 -0
- {django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/tests/tests/test_post_migrate_groups_update.py +0 -0
- {django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/tests/tests/test_profiling_middleware.py +0 -0
- {django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/tests/tests/test_settings.py +0 -0
- {django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/tests/tests/test_shortcuts.py +0 -0
- {django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/tests/tests/test_timezone_middleware.py +0 -0
- {django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/tests/tests/test_tools.py +0 -0
- {django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/tests/tests/test_user_queryset.py +0 -0
- {django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/tests/tests/test_view_decorators.py +0 -0
- {django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/tests/tests/test_view_fields.py +0 -0
- {django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/tests/urls.py +0 -0
- {django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/tests/views.py +0 -0
- {django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/tests_base_user/__init__.py +0 -0
- {django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/tests_base_user/migrations/0001_initial.py +0 -0
- {django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/tests_base_user/migrations/__init__.py +0 -0
- {django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/tests_base_user/settings/__init__.py +0 -0
- {django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/tests_base_user/settings/ci.py +0 -0
- {django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/tests_base_user/settings/common.py +0 -0
- {django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/tests_base_user/settings/dev.py +0 -0
- {django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/tests_base_user/settings/dev_custom_example.py +0 -0
- {django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/tests_base_user/settings/dev_default.py +0 -0
- {django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/tests_base_user/tests/__init__.py +0 -0
- {django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/tests_base_user/tests/test_api.py +0 -0
- {django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/tests_base_user/tests/test_auth_api.py +0 -0
- {django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/tests_base_user/urls.py +0 -0
- {django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/tests_base_user/views.py +0 -0
- {django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/tests_custom_user/__init__.py +0 -0
- {django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/tests_custom_user/migrations/0001_initial.py +0 -0
- {django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/tests_custom_user/migrations/__init__.py +0 -0
- {django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/tests_custom_user/models.py +0 -0
- {django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/tests_custom_user/settings/__init__.py +0 -0
- {django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/tests_custom_user/settings/ci.py +0 -0
- {django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/tests_custom_user/settings/common.py +0 -0
- {django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/tests_custom_user/settings/dev.py +0 -0
- {django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/tests_custom_user/settings/dev_custom_example.py +0 -0
- {django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/tests_custom_user/settings/dev_default.py +0 -0
- {django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/tests_custom_user/tests/__init__.py +0 -0
- {django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/tests_custom_user/tests/test_api.py +0 -0
- {django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/tests_custom_user/tests/test_auth_api.py +0 -0
- {django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/tests_custom_user/urls.py +0 -0
- {django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/tests_custom_user/views.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: django-pfx
|
|
3
|
-
Version: 1.4.
|
|
3
|
+
Version: 1.4.dev136
|
|
4
4
|
Summary: Django PFX is a toolkit designed to streamline the development of RESTful APIs using the Django framework.
|
|
5
5
|
Author: Hervé Martinet
|
|
6
6
|
Author-email: herve.martinet@gmail.com
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: django-pfx
|
|
3
|
-
Version: 1.4.
|
|
3
|
+
Version: 1.4.dev136
|
|
4
4
|
Summary: Django PFX is a toolkit designed to streamline the development of RESTful APIs using the Django framework.
|
|
5
5
|
Author: Hervé Martinet
|
|
6
6
|
Author-email: herve.martinet@gmail.com
|
|
@@ -146,6 +146,7 @@ tests/tests/test_body_mixin.py
|
|
|
146
146
|
tests/tests/test_cache.py
|
|
147
147
|
tests/tests/test_client.py
|
|
148
148
|
tests/tests/test_fields_choices.py
|
|
149
|
+
tests/tests/test_fields_date.py
|
|
149
150
|
tests/tests/test_fields_decimal.py
|
|
150
151
|
tests/tests/test_fields_minutes_duration.py
|
|
151
152
|
tests/tests/test_fields_nh3.py
|
|
@@ -7,7 +7,7 @@ msgid ""
|
|
|
7
7
|
msgstr ""
|
|
8
8
|
"Project-Id-Version: \n"
|
|
9
9
|
"Report-Msgid-Bugs-To: \n"
|
|
10
|
-
"POT-Creation-Date: 2025-
|
|
10
|
+
"POT-Creation-Date: 2025-06-04 16:47+0200\n"
|
|
11
11
|
"PO-Revision-Date: 2021-06-22 23:31+0200\n"
|
|
12
12
|
"Last-Translator: \n"
|
|
13
13
|
"Language-Team: \n"
|
|
@@ -302,7 +302,7 @@ msgstr "{model} {obj} créé."
|
|
|
302
302
|
msgid "{model} {obj} updated."
|
|
303
303
|
msgstr "{model} {obj} modifié."
|
|
304
304
|
|
|
305
|
-
#: views/rest_views.py:
|
|
305
|
+
#: views/rest_views.py:1174
|
|
306
306
|
#, python-brace-format
|
|
307
307
|
msgid "{model} {obj} deleted."
|
|
308
308
|
msgstr "{model} {obj} supprimé."
|
|
@@ -366,14 +366,9 @@ class ViewModelField(ViewField):
|
|
|
366
366
|
value = (value['value']
|
|
367
367
|
if isinstance(value, dict) and 'value' in value
|
|
368
368
|
else value)
|
|
369
|
-
elif self.field_type
|
|
369
|
+
elif self.field_type in (FieldType.DateField, FieldType.DateTimeField):
|
|
370
370
|
try:
|
|
371
|
-
value = value and field.to_python(value)
|
|
372
|
-
except ValidationError as e:
|
|
373
|
-
raise ValidationError({field.name: e})
|
|
374
|
-
elif self.field_type == FieldType.DateTimeField:
|
|
375
|
-
try:
|
|
376
|
-
value = value and field.to_python(value)
|
|
371
|
+
value = value and field.to_python(value) or None
|
|
377
372
|
except ValidationError as e:
|
|
378
373
|
raise ValidationError({field.name: e})
|
|
379
374
|
elif self.field_type == FieldType.IntegerField:
|
|
@@ -855,10 +855,15 @@ class ListRestViewMixin(ModelResponseMixin):
|
|
|
855
855
|
elif settings.PFX_MAX_LIST_RESULT_SIZE:
|
|
856
856
|
qs = qs[:settings.PFX_MAX_LIST_RESULT_SIZE]
|
|
857
857
|
if get_bool(self.request.GET, 'items', 'count' not in meta):
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
858
|
+
mode = self.request.GET.get('mode', 'list')
|
|
859
|
+
match mode:
|
|
860
|
+
case 'list':
|
|
861
|
+
res['items'] = list(self.get_list_result(qs))
|
|
862
|
+
case 'select':
|
|
863
|
+
res['items'] = list(self.get_short_list_result(qs))
|
|
864
|
+
case _:
|
|
865
|
+
m = f'get_{mode}_result'
|
|
866
|
+
res['items'] = list(getattr(self, m)(qs))
|
|
862
867
|
meta.update(self._get_list_extra_meta(res))
|
|
863
868
|
if meta:
|
|
864
869
|
res['meta'] = meta
|
|
@@ -7,6 +7,7 @@ from .test_body_mixin import TestBodyMixin
|
|
|
7
7
|
from .test_cache import TestCache
|
|
8
8
|
from .test_client import TestApiClient
|
|
9
9
|
from .test_fields_choices import TestFieldsChoices
|
|
10
|
+
from .test_fields_date import TestFieldsDate
|
|
10
11
|
from .test_fields_decimal import TestFieldsDecimal
|
|
11
12
|
from .test_fields_minutes_duration import TestFieldsMinutesDuration
|
|
12
13
|
from .test_fields_nh3 import TestFieldsNh3
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
from datetime import date
|
|
2
|
+
|
|
3
|
+
from django.db import connection, models
|
|
4
|
+
from django.test import TestCase
|
|
5
|
+
from django.test.utils import override_settings
|
|
6
|
+
from django.urls import include, path
|
|
7
|
+
|
|
8
|
+
from pfx.pfxcore import register_views
|
|
9
|
+
from pfx.pfxcore.decorator import rest_view
|
|
10
|
+
from pfx.pfxcore.models import JSONReprMixin
|
|
11
|
+
from pfx.pfxcore.test import APIClient, TestAssertMixin
|
|
12
|
+
from pfx.pfxcore.views import RestView
|
|
13
|
+
from tests.views import FakeViewMixin
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
class TestDateModel(JSONReprMixin, models.Model):
|
|
17
|
+
date_at = models.DateField(blank=True, null=True)
|
|
18
|
+
|
|
19
|
+
class Meta:
|
|
20
|
+
verbose_name = "TestModel"
|
|
21
|
+
verbose_name_plural = "TestModels"
|
|
22
|
+
ordering = ['pk']
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
@rest_view("/test")
|
|
26
|
+
class TestDateRestView(FakeViewMixin, RestView):
|
|
27
|
+
default_public = True
|
|
28
|
+
model = TestDateModel
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
urlpatterns = [
|
|
32
|
+
path('api/', include(register_views(TestDateRestView))),
|
|
33
|
+
path('api/', include('pfx.pfxcore.urls'))
|
|
34
|
+
]
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
@override_settings(ROOT_URLCONF=__name__)
|
|
38
|
+
class TestFieldsDate(TestAssertMixin, TestCase):
|
|
39
|
+
|
|
40
|
+
def setUp(self):
|
|
41
|
+
self.client = APIClient(default_locale='en')
|
|
42
|
+
|
|
43
|
+
@classmethod
|
|
44
|
+
def setUpTestData(cls):
|
|
45
|
+
with connection.schema_editor() as schema_editor:
|
|
46
|
+
schema_editor.create_model(TestDateModel)
|
|
47
|
+
|
|
48
|
+
def test_update_null(self):
|
|
49
|
+
c1 = TestDateModel.objects.create(date_at=date(2025, 5, 3))
|
|
50
|
+
|
|
51
|
+
response = self.client.put(f'/api/test/{c1.pk}', dict(date_at=None))
|
|
52
|
+
self.assertRC(response, 200)
|
|
53
|
+
self.assertJE(response, 'date_at', None)
|
|
54
|
+
|
|
55
|
+
def test_update_empty_string(self):
|
|
56
|
+
c1 = TestDateModel.objects.create(date_at=date(2025, 5, 3))
|
|
57
|
+
|
|
58
|
+
response = self.client.put(f'/api/test/{c1.pk}', dict(date_at=""))
|
|
59
|
+
self.assertRC(response, 200)
|
|
60
|
+
self.assertJE(response, 'date_at', None)
|
|
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.dev132 → django_pfx-1.4.dev136}/pfx/pfxcore/fields/minutes_duration_field.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.dev132 → django_pfx-1.4.dev136}/pfx/pfxcore/management/commands/makeapidoc.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.dev132 → django_pfx-1.4.dev136}/pfx/pfxcore/migrations/0002_pfxpermissionsuser.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/pfx/pfxcore/migrations/operations/__init__.py
RENAMED
|
File without changes
|
{django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/pfx/pfxcore/migrations/operations/permissions.py
RENAMED
|
File without changes
|
|
File without changes
|
{django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/pfx/pfxcore/models/abstract_pfx_base_user.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.dev132 → django_pfx-1.4.dev136}/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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/pfx/pfxcore/templates/registration/welcome_email.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
|
{django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/pfx/pfxcore/views/ordered_rest_view_mixin.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
|
{django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/pfx/pfxcore/views/parameters/media_redirect.py
RENAMED
|
File without changes
|
|
File without changes
|
{django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/pfx/pfxcore/views/parameters/meta_filters.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/pfx/pfxcore/views/parameters/subset_limit.py
RENAMED
|
File without changes
|
{django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/pfx/pfxcore/views/parameters/subset_offset.py
RENAMED
|
File without changes
|
|
File without changes
|
{django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/pfx/pfxcore/views/parameters/subset_page_size.py
RENAMED
|
File without changes
|
{django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/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.dev132 → django_pfx-1.4.dev136}/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
|
{django_pfx-1.4.dev132 → django_pfx-1.4.dev136}/tests_custom_user/migrations/0001_initial.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.dev132 → django_pfx-1.4.dev136}/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
|