django-pfx 1.4.dev84__tar.gz → 1.4.dev88__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.dev84 → django_pfx-1.4.dev88}/PKG-INFO +1 -1
- {django_pfx-1.4.dev84 → django_pfx-1.4.dev88}/django_pfx.egg-info/PKG-INFO +1 -1
- {django_pfx-1.4.dev84 → django_pfx-1.4.dev88}/pfx/pfxcore/locale/fr/LC_MESSAGES/django.po +3 -3
- {django_pfx-1.4.dev84 → django_pfx-1.4.dev88}/pfx/pfxcore/views/fields.py +5 -1
- {django_pfx-1.4.dev84 → django_pfx-1.4.dev88}/pfx/pfxcore/views/rest_views.py +12 -5
- {django_pfx-1.4.dev84 → django_pfx-1.4.dev88}/.gitignore +0 -0
- {django_pfx-1.4.dev84 → django_pfx-1.4.dev88}/.gitlab-ci.yml +0 -0
- {django_pfx-1.4.dev84 → django_pfx-1.4.dev88}/.pre-commit-config.yaml +0 -0
- {django_pfx-1.4.dev84 → django_pfx-1.4.dev88}/LICENSE +0 -0
- {django_pfx-1.4.dev84 → django_pfx-1.4.dev88}/MANIFEST.in +0 -0
- {django_pfx-1.4.dev84 → django_pfx-1.4.dev88}/README.md +0 -0
- {django_pfx-1.4.dev84 → django_pfx-1.4.dev88}/django_pfx.egg-info/SOURCES.txt +0 -0
- {django_pfx-1.4.dev84 → django_pfx-1.4.dev88}/django_pfx.egg-info/dependency_links.txt +0 -0
- {django_pfx-1.4.dev84 → django_pfx-1.4.dev88}/django_pfx.egg-info/requires.txt +0 -0
- {django_pfx-1.4.dev84 → django_pfx-1.4.dev88}/django_pfx.egg-info/top_level.txt +0 -0
- {django_pfx-1.4.dev84 → django_pfx-1.4.dev88}/doc/Makefile +0 -0
- {django_pfx-1.4.dev84 → django_pfx-1.4.dev88}/doc/conf.py +0 -0
- {django_pfx-1.4.dev84 → django_pfx-1.4.dev88}/doc/index.rst +0 -0
- {django_pfx-1.4.dev84 → django_pfx-1.4.dev88}/doc/source/api.views.rst +0 -0
- {django_pfx-1.4.dev84 → django_pfx-1.4.dev88}/doc/source/authentication.md +0 -0
- {django_pfx-1.4.dev84 → django_pfx-1.4.dev88}/doc/source/decorator.md +0 -0
- {django_pfx-1.4.dev84 → django_pfx-1.4.dev88}/doc/source/generate_openapi.md +0 -0
- {django_pfx-1.4.dev84 → django_pfx-1.4.dev88}/doc/source/getting_started.md +0 -0
- {django_pfx-1.4.dev84 → django_pfx-1.4.dev88}/doc/source/internationalisation.md +0 -0
- {django_pfx-1.4.dev84 → django_pfx-1.4.dev88}/doc/source/model.md +0 -0
- {django_pfx-1.4.dev84 → django_pfx-1.4.dev88}/doc/source/pfx_views.md +0 -0
- {django_pfx-1.4.dev84 → django_pfx-1.4.dev88}/doc/source/profiling.md +0 -0
- {django_pfx-1.4.dev84 → django_pfx-1.4.dev88}/doc/source/settings.md +0 -0
- {django_pfx-1.4.dev84 → django_pfx-1.4.dev88}/doc/source/testing.md +0 -0
- {django_pfx-1.4.dev84 → django_pfx-1.4.dev88}/img/pfx.png +0 -0
- {django_pfx-1.4.dev84 → django_pfx-1.4.dev88}/img/pfx.svg +0 -0
- {django_pfx-1.4.dev84 → django_pfx-1.4.dev88}/make_messages +0 -0
- {django_pfx-1.4.dev84 → django_pfx-1.4.dev88}/manage.py +0 -0
- {django_pfx-1.4.dev84 → django_pfx-1.4.dev88}/pfx/__init__.py +0 -0
- {django_pfx-1.4.dev84 → django_pfx-1.4.dev88}/pfx/pfxcore/__init__.py +0 -0
- {django_pfx-1.4.dev84 → django_pfx-1.4.dev88}/pfx/pfxcore/apidoc/__init__.py +0 -0
- {django_pfx-1.4.dev84 → django_pfx-1.4.dev88}/pfx/pfxcore/apidoc/parameters.py +0 -0
- {django_pfx-1.4.dev84 → django_pfx-1.4.dev88}/pfx/pfxcore/apidoc/schema.py +0 -0
- {django_pfx-1.4.dev84 → django_pfx-1.4.dev88}/pfx/pfxcore/apidoc/tags.py +0 -0
- {django_pfx-1.4.dev84 → django_pfx-1.4.dev88}/pfx/pfxcore/apps.py +0 -0
- {django_pfx-1.4.dev84 → django_pfx-1.4.dev88}/pfx/pfxcore/decorator/__init__.py +0 -0
- {django_pfx-1.4.dev84 → django_pfx-1.4.dev88}/pfx/pfxcore/decorator/rest.py +0 -0
- {django_pfx-1.4.dev84 → django_pfx-1.4.dev88}/pfx/pfxcore/default_settings.py +0 -0
- {django_pfx-1.4.dev84 → django_pfx-1.4.dev88}/pfx/pfxcore/exceptions.py +0 -0
- {django_pfx-1.4.dev84 → django_pfx-1.4.dev88}/pfx/pfxcore/fields.py +0 -0
- {django_pfx-1.4.dev84 → django_pfx-1.4.dev88}/pfx/pfxcore/http/__init__.py +0 -0
- {django_pfx-1.4.dev84 → django_pfx-1.4.dev88}/pfx/pfxcore/http/json_response.py +0 -0
- {django_pfx-1.4.dev84 → django_pfx-1.4.dev88}/pfx/pfxcore/locale/fr/LC_MESSAGES/django.mo +0 -0
- {django_pfx-1.4.dev84 → django_pfx-1.4.dev88}/pfx/pfxcore/management/__init__.py +0 -0
- {django_pfx-1.4.dev84 → django_pfx-1.4.dev88}/pfx/pfxcore/management/commands/__init__.py +0 -0
- {django_pfx-1.4.dev84 → django_pfx-1.4.dev88}/pfx/pfxcore/management/commands/makeapidoc.py +0 -0
- {django_pfx-1.4.dev84 → django_pfx-1.4.dev88}/pfx/pfxcore/management/commands/profile.py +0 -0
- {django_pfx-1.4.dev84 → django_pfx-1.4.dev88}/pfx/pfxcore/middleware/__init__.py +0 -0
- {django_pfx-1.4.dev84 → django_pfx-1.4.dev88}/pfx/pfxcore/middleware/authentication.py +0 -0
- {django_pfx-1.4.dev84 → django_pfx-1.4.dev88}/pfx/pfxcore/middleware/locale.py +0 -0
- {django_pfx-1.4.dev84 → django_pfx-1.4.dev88}/pfx/pfxcore/middleware/profiling.py +0 -0
- {django_pfx-1.4.dev84 → django_pfx-1.4.dev88}/pfx/pfxcore/migrations/0001_initial.py +0 -0
- {django_pfx-1.4.dev84 → django_pfx-1.4.dev88}/pfx/pfxcore/migrations/0002_pfxpermissionsuser.py +0 -0
- {django_pfx-1.4.dev84 → django_pfx-1.4.dev88}/pfx/pfxcore/migrations/0003_delete_pfxpermissionsuser.py +0 -0
- {django_pfx-1.4.dev84 → django_pfx-1.4.dev88}/pfx/pfxcore/migrations/__init__.py +0 -0
- {django_pfx-1.4.dev84 → django_pfx-1.4.dev88}/pfx/pfxcore/migrations/operations/__init__.py +0 -0
- {django_pfx-1.4.dev84 → django_pfx-1.4.dev88}/pfx/pfxcore/migrations/operations/permissions.py +0 -0
- {django_pfx-1.4.dev84 → django_pfx-1.4.dev88}/pfx/pfxcore/models/__init__.py +0 -0
- {django_pfx-1.4.dev84 → django_pfx-1.4.dev88}/pfx/pfxcore/models/abstract_pfx_base_user.py +0 -0
- {django_pfx-1.4.dev84 → django_pfx-1.4.dev88}/pfx/pfxcore/models/cache_mixins.py +0 -0
- {django_pfx-1.4.dev84 → django_pfx-1.4.dev88}/pfx/pfxcore/models/login_ban.py +0 -0
- {django_pfx-1.4.dev84 → django_pfx-1.4.dev88}/pfx/pfxcore/models/not_null_fields.py +0 -0
- {django_pfx-1.4.dev84 → django_pfx-1.4.dev88}/pfx/pfxcore/models/ordered_model_mixin.py +0 -0
- {django_pfx-1.4.dev84 → django_pfx-1.4.dev88}/pfx/pfxcore/models/otp_user_mixin.py +0 -0
- {django_pfx-1.4.dev84 → django_pfx-1.4.dev88}/pfx/pfxcore/models/pfx_models.py +0 -0
- {django_pfx-1.4.dev84 → django_pfx-1.4.dev88}/pfx/pfxcore/models/pfx_user.py +0 -0
- {django_pfx-1.4.dev84 → django_pfx-1.4.dev88}/pfx/pfxcore/models/user_filtered_queryset_mixin.py +0 -0
- {django_pfx-1.4.dev84 → django_pfx-1.4.dev88}/pfx/pfxcore/serializers/__init__.py +0 -0
- {django_pfx-1.4.dev84 → django_pfx-1.4.dev88}/pfx/pfxcore/serializers/json.py +0 -0
- {django_pfx-1.4.dev84 → django_pfx-1.4.dev88}/pfx/pfxcore/settings.py +0 -0
- {django_pfx-1.4.dev84 → django_pfx-1.4.dev88}/pfx/pfxcore/shortcuts.py +0 -0
- {django_pfx-1.4.dev84 → django_pfx-1.4.dev88}/pfx/pfxcore/storage/__init__.py +0 -0
- {django_pfx-1.4.dev84 → django_pfx-1.4.dev88}/pfx/pfxcore/storage/s3_storage.py +0 -0
- {django_pfx-1.4.dev84 → django_pfx-1.4.dev88}/pfx/pfxcore/templates/registration/otp_code_email.txt +0 -0
- {django_pfx-1.4.dev84 → django_pfx-1.4.dev88}/pfx/pfxcore/templates/registration/otp_code_subject.txt +0 -0
- {django_pfx-1.4.dev84 → django_pfx-1.4.dev88}/pfx/pfxcore/templates/registration/password_reset_email.txt +0 -0
- {django_pfx-1.4.dev84 → django_pfx-1.4.dev88}/pfx/pfxcore/templates/registration/password_reset_subject.txt +0 -0
- {django_pfx-1.4.dev84 → django_pfx-1.4.dev88}/pfx/pfxcore/templates/registration/welcome_email.txt +0 -0
- {django_pfx-1.4.dev84 → django_pfx-1.4.dev88}/pfx/pfxcore/templates/registration/welcome_subject.txt +0 -0
- {django_pfx-1.4.dev84 → django_pfx-1.4.dev88}/pfx/pfxcore/test.py +0 -0
- {django_pfx-1.4.dev84 → django_pfx-1.4.dev88}/pfx/pfxcore/urls.py +0 -0
- {django_pfx-1.4.dev84 → django_pfx-1.4.dev88}/pfx/pfxcore/views/__init__.py +0 -0
- {django_pfx-1.4.dev84 → django_pfx-1.4.dev88}/pfx/pfxcore/views/authentication_views.py +0 -0
- {django_pfx-1.4.dev84 → django_pfx-1.4.dev88}/pfx/pfxcore/views/filters_views.py +0 -0
- {django_pfx-1.4.dev84 → django_pfx-1.4.dev88}/pfx/pfxcore/views/locale_views.py +0 -0
- {django_pfx-1.4.dev84 → django_pfx-1.4.dev88}/pfx/pfxcore/views/ordered_rest_view_mixin.py +0 -0
- {django_pfx-1.4.dev84 → django_pfx-1.4.dev88}/pfx/pfxcore/views/parameters/__init__.py +0 -0
- {django_pfx-1.4.dev84 → django_pfx-1.4.dev88}/pfx/pfxcore/views/parameters/date_format.py +0 -0
- {django_pfx-1.4.dev84 → django_pfx-1.4.dev88}/pfx/pfxcore/views/parameters/groups.py +0 -0
- {django_pfx-1.4.dev84 → django_pfx-1.4.dev88}/pfx/pfxcore/views/parameters/list_count.py +0 -0
- {django_pfx-1.4.dev84 → django_pfx-1.4.dev88}/pfx/pfxcore/views/parameters/list_items.py +0 -0
- {django_pfx-1.4.dev84 → django_pfx-1.4.dev88}/pfx/pfxcore/views/parameters/list_mode.py +0 -0
- {django_pfx-1.4.dev84 → django_pfx-1.4.dev88}/pfx/pfxcore/views/parameters/list_order.py +0 -0
- {django_pfx-1.4.dev84 → django_pfx-1.4.dev88}/pfx/pfxcore/views/parameters/list_search.py +0 -0
- {django_pfx-1.4.dev84 → django_pfx-1.4.dev88}/pfx/pfxcore/views/parameters/media_redirect.py +0 -0
- {django_pfx-1.4.dev84 → django_pfx-1.4.dev88}/pfx/pfxcore/views/parameters/meta_fields.py +0 -0
- {django_pfx-1.4.dev84 → django_pfx-1.4.dev88}/pfx/pfxcore/views/parameters/meta_filters.py +0 -0
- {django_pfx-1.4.dev84 → django_pfx-1.4.dev88}/pfx/pfxcore/views/parameters/meta_orders.py +0 -0
- {django_pfx-1.4.dev84 → django_pfx-1.4.dev88}/pfx/pfxcore/views/parameters/subset.py +0 -0
- {django_pfx-1.4.dev84 → django_pfx-1.4.dev88}/pfx/pfxcore/views/parameters/subset_limit.py +0 -0
- {django_pfx-1.4.dev84 → django_pfx-1.4.dev88}/pfx/pfxcore/views/parameters/subset_offset.py +0 -0
- {django_pfx-1.4.dev84 → django_pfx-1.4.dev88}/pfx/pfxcore/views/parameters/subset_page.py +0 -0
- {django_pfx-1.4.dev84 → django_pfx-1.4.dev88}/pfx/pfxcore/views/parameters/subset_page_size.py +0 -0
- {django_pfx-1.4.dev84 → django_pfx-1.4.dev88}/pfx/pfxcore/views/parameters/subset_page_subset.py +0 -0
- {django_pfx-1.4.dev84 → django_pfx-1.4.dev88}/pfx/settings/__init__.py +0 -0
- {django_pfx-1.4.dev84 → django_pfx-1.4.dev88}/pfx/settings/dev.py +0 -0
- {django_pfx-1.4.dev84 → django_pfx-1.4.dev88}/pyproject.toml +0 -0
- {django_pfx-1.4.dev84 → django_pfx-1.4.dev88}/requirements.txt +0 -0
- {django_pfx-1.4.dev84 → django_pfx-1.4.dev88}/serve-doc +0 -0
- {django_pfx-1.4.dev84 → django_pfx-1.4.dev88}/setup.cfg +0 -0
- {django_pfx-1.4.dev84 → django_pfx-1.4.dev88}/setup.py +0 -0
- {django_pfx-1.4.dev84 → django_pfx-1.4.dev88}/tests/__init__.py +0 -0
- {django_pfx-1.4.dev84 → django_pfx-1.4.dev88}/tests/locale/fr/LC_MESSAGES/django.po +0 -0
- {django_pfx-1.4.dev84 → django_pfx-1.4.dev88}/tests/migrations/0001_initial.py +0 -0
- {django_pfx-1.4.dev84 → django_pfx-1.4.dev88}/tests/migrations/__init__.py +0 -0
- {django_pfx-1.4.dev84 → django_pfx-1.4.dev88}/tests/models.py +0 -0
- {django_pfx-1.4.dev84 → django_pfx-1.4.dev88}/tests/settings/__init__.py +0 -0
- {django_pfx-1.4.dev84 → django_pfx-1.4.dev88}/tests/settings/ci.py +0 -0
- {django_pfx-1.4.dev84 → django_pfx-1.4.dev88}/tests/settings/common.py +0 -0
- {django_pfx-1.4.dev84 → django_pfx-1.4.dev88}/tests/settings/dev.py +0 -0
- {django_pfx-1.4.dev84 → django_pfx-1.4.dev88}/tests/settings/dev_custom_example.py +0 -0
- {django_pfx-1.4.dev84 → django_pfx-1.4.dev88}/tests/settings/dev_default.py +0 -0
- {django_pfx-1.4.dev84 → django_pfx-1.4.dev88}/tests/tests/__init__.py +0 -0
- {django_pfx-1.4.dev84 → django_pfx-1.4.dev88}/tests/tests/basic_api_errors.py +0 -0
- {django_pfx-1.4.dev84 → django_pfx-1.4.dev88}/tests/tests/basic_api_test.py +0 -0
- {django_pfx-1.4.dev84 → django_pfx-1.4.dev88}/tests/tests/test_api_doc.py +0 -0
- {django_pfx-1.4.dev84 → django_pfx-1.4.dev88}/tests/tests/test_api_doc_search.py +0 -0
- {django_pfx-1.4.dev84 → django_pfx-1.4.dev88}/tests/tests/test_auth_api.py +0 -0
- {django_pfx-1.4.dev84 → django_pfx-1.4.dev88}/tests/tests/test_body_mixin.py +0 -0
- {django_pfx-1.4.dev84 → django_pfx-1.4.dev88}/tests/tests/test_cache.py +0 -0
- {django_pfx-1.4.dev84 → django_pfx-1.4.dev88}/tests/tests/test_client.py +0 -0
- {django_pfx-1.4.dev84 → django_pfx-1.4.dev88}/tests/tests/test_fields.py +0 -0
- {django_pfx-1.4.dev84 → django_pfx-1.4.dev88}/tests/tests/test_filters.py +0 -0
- {django_pfx-1.4.dev84 → django_pfx-1.4.dev88}/tests/tests/test_locale_api.py +0 -0
- {django_pfx-1.4.dev84 → django_pfx-1.4.dev88}/tests/tests/test_ordered_rest_view_mixin.py +0 -0
- {django_pfx-1.4.dev84 → django_pfx-1.4.dev88}/tests/tests/test_perm_tests.py +0 -0
- {django_pfx-1.4.dev84 → django_pfx-1.4.dev88}/tests/tests/test_permissions.py +0 -0
- {django_pfx-1.4.dev84 → django_pfx-1.4.dev88}/tests/tests/test_perms_api.py +0 -0
- {django_pfx-1.4.dev84 → django_pfx-1.4.dev88}/tests/tests/test_post_migrate_groups_update.py +0 -0
- {django_pfx-1.4.dev84 → django_pfx-1.4.dev88}/tests/tests/test_profiling_middleware.py +0 -0
- {django_pfx-1.4.dev84 → django_pfx-1.4.dev88}/tests/tests/test_settings.py +0 -0
- {django_pfx-1.4.dev84 → django_pfx-1.4.dev88}/tests/tests/test_shortcuts.py +0 -0
- {django_pfx-1.4.dev84 → django_pfx-1.4.dev88}/tests/tests/test_timezone_middleware.py +0 -0
- {django_pfx-1.4.dev84 → django_pfx-1.4.dev88}/tests/tests/test_tools.py +0 -0
- {django_pfx-1.4.dev84 → django_pfx-1.4.dev88}/tests/tests/test_user_queryset.py +0 -0
- {django_pfx-1.4.dev84 → django_pfx-1.4.dev88}/tests/tests/test_view_decorators.py +0 -0
- {django_pfx-1.4.dev84 → django_pfx-1.4.dev88}/tests/tests/test_view_fields.py +0 -0
- {django_pfx-1.4.dev84 → django_pfx-1.4.dev88}/tests/urls.py +0 -0
- {django_pfx-1.4.dev84 → django_pfx-1.4.dev88}/tests/views.py +0 -0
- {django_pfx-1.4.dev84 → django_pfx-1.4.dev88}/tests_base_user/__init__.py +0 -0
- {django_pfx-1.4.dev84 → django_pfx-1.4.dev88}/tests_base_user/migrations/0001_initial.py +0 -0
- {django_pfx-1.4.dev84 → django_pfx-1.4.dev88}/tests_base_user/migrations/__init__.py +0 -0
- {django_pfx-1.4.dev84 → django_pfx-1.4.dev88}/tests_base_user/settings/__init__.py +0 -0
- {django_pfx-1.4.dev84 → django_pfx-1.4.dev88}/tests_base_user/settings/ci.py +0 -0
- {django_pfx-1.4.dev84 → django_pfx-1.4.dev88}/tests_base_user/settings/common.py +0 -0
- {django_pfx-1.4.dev84 → django_pfx-1.4.dev88}/tests_base_user/settings/dev.py +0 -0
- {django_pfx-1.4.dev84 → django_pfx-1.4.dev88}/tests_base_user/settings/dev_custom_example.py +0 -0
- {django_pfx-1.4.dev84 → django_pfx-1.4.dev88}/tests_base_user/settings/dev_default.py +0 -0
- {django_pfx-1.4.dev84 → django_pfx-1.4.dev88}/tests_base_user/tests/__init__.py +0 -0
- {django_pfx-1.4.dev84 → django_pfx-1.4.dev88}/tests_base_user/tests/test_api.py +0 -0
- {django_pfx-1.4.dev84 → django_pfx-1.4.dev88}/tests_base_user/tests/test_auth_api.py +0 -0
- {django_pfx-1.4.dev84 → django_pfx-1.4.dev88}/tests_base_user/urls.py +0 -0
- {django_pfx-1.4.dev84 → django_pfx-1.4.dev88}/tests_base_user/views.py +0 -0
- {django_pfx-1.4.dev84 → django_pfx-1.4.dev88}/tests_custom_user/__init__.py +0 -0
- {django_pfx-1.4.dev84 → django_pfx-1.4.dev88}/tests_custom_user/migrations/0001_initial.py +0 -0
- {django_pfx-1.4.dev84 → django_pfx-1.4.dev88}/tests_custom_user/migrations/__init__.py +0 -0
- {django_pfx-1.4.dev84 → django_pfx-1.4.dev88}/tests_custom_user/models.py +0 -0
- {django_pfx-1.4.dev84 → django_pfx-1.4.dev88}/tests_custom_user/settings/__init__.py +0 -0
- {django_pfx-1.4.dev84 → django_pfx-1.4.dev88}/tests_custom_user/settings/ci.py +0 -0
- {django_pfx-1.4.dev84 → django_pfx-1.4.dev88}/tests_custom_user/settings/common.py +0 -0
- {django_pfx-1.4.dev84 → django_pfx-1.4.dev88}/tests_custom_user/settings/dev.py +0 -0
- {django_pfx-1.4.dev84 → django_pfx-1.4.dev88}/tests_custom_user/settings/dev_custom_example.py +0 -0
- {django_pfx-1.4.dev84 → django_pfx-1.4.dev88}/tests_custom_user/settings/dev_default.py +0 -0
- {django_pfx-1.4.dev84 → django_pfx-1.4.dev88}/tests_custom_user/tests/__init__.py +0 -0
- {django_pfx-1.4.dev84 → django_pfx-1.4.dev88}/tests_custom_user/tests/test_api.py +0 -0
- {django_pfx-1.4.dev84 → django_pfx-1.4.dev88}/tests_custom_user/tests/test_auth_api.py +0 -0
- {django_pfx-1.4.dev84 → django_pfx-1.4.dev88}/tests_custom_user/urls.py +0 -0
- {django_pfx-1.4.dev84 → django_pfx-1.4.dev88}/tests_custom_user/views.py +0 -0
|
@@ -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-02-05 08:33+0100\n"
|
|
11
11
|
"PO-Revision-Date: 2021-06-22 23:31+0200\n"
|
|
12
12
|
"Last-Translator: \n"
|
|
13
13
|
"Language-Team: \n"
|
|
@@ -293,11 +293,11 @@ msgstr "{model} {obj} créé."
|
|
|
293
293
|
msgid "{model} {obj} updated."
|
|
294
294
|
msgstr "{model} {obj} modifié."
|
|
295
295
|
|
|
296
|
-
#: views/rest_views.py:
|
|
296
|
+
#: views/rest_views.py:1164
|
|
297
297
|
#, python-brace-format
|
|
298
298
|
msgid "{model} {obj} deleted."
|
|
299
299
|
msgstr "{model} {obj} supprimé."
|
|
300
300
|
|
|
301
|
-
#: views/rest_views.py:
|
|
301
|
+
#: views/rest_views.py:1263 views/rest_views.py:1303
|
|
302
302
|
msgid "Unexpected storage error"
|
|
303
303
|
msgstr "Erreur de stockage inattendue"
|
|
@@ -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
|
|
@@ -775,6 +775,12 @@ class ListRestViewMixin(ModelResponseMixin):
|
|
|
775
775
|
pk=o.pk,
|
|
776
776
|
resource_name=str(o))
|
|
777
777
|
|
|
778
|
+
def pagination_count_queryset(self, qs):
|
|
779
|
+
return qs
|
|
780
|
+
|
|
781
|
+
def pagination_apply(self, qs, count_qs, offset, page_size):
|
|
782
|
+
return qs.all()[offset:offset + page_size]
|
|
783
|
+
|
|
778
784
|
def pagination_result(self, qs):
|
|
779
785
|
"""Apply pagination on a queryset.
|
|
780
786
|
|
|
@@ -788,13 +794,14 @@ class ListRestViewMixin(ModelResponseMixin):
|
|
|
788
794
|
page_size = min(page_size, settings.PFX_MAX_LIST_RESULT_SIZE)
|
|
789
795
|
page = get_int(self.request.GET, 'page', 1)
|
|
790
796
|
page_subset = get_int(self.request.GET, 'page_subset', 5)
|
|
791
|
-
|
|
797
|
+
cqs = self.pagination_count_queryset(qs)
|
|
798
|
+
count = cqs.count()
|
|
792
799
|
page_count = (1 + (count - 1) // page_size) or 1
|
|
793
800
|
offset = (page - 1) * page_size
|
|
794
801
|
subset_first = min(
|
|
795
802
|
max(page - page_subset // 2, 1),
|
|
796
803
|
max(page_count - page_subset + 1, 1))
|
|
797
|
-
qs =
|
|
804
|
+
qs = self.pagination_apply(qs, cqs, offset, page_size)
|
|
798
805
|
return qs, dict(
|
|
799
806
|
page_size=page_size,
|
|
800
807
|
page=page,
|
|
@@ -1038,7 +1045,7 @@ class CreateRestViewMixin(ModelBodyMixin, ModelResponseMixin):
|
|
|
1038
1045
|
forbidden = True
|
|
1039
1046
|
self.set_values(obj, **data)
|
|
1040
1047
|
try:
|
|
1041
|
-
self.validate(obj, created=True)
|
|
1048
|
+
self.validate(obj, rel_data=rel_data, created=True)
|
|
1042
1049
|
if forbidden:
|
|
1043
1050
|
raise ForbiddenError
|
|
1044
1051
|
return self.is_valid(obj, created=True, rel_data=rel_data)
|
|
@@ -1096,7 +1103,7 @@ class UpdateRestViewMixin(ModelBodyMixin, ModelResponseMixin):
|
|
|
1096
1103
|
forbidden = True
|
|
1097
1104
|
self.set_values(obj, **data)
|
|
1098
1105
|
try:
|
|
1099
|
-
self.validate(obj, created=False)
|
|
1106
|
+
self.validate(obj, rel_data=rel_data, created=False)
|
|
1100
1107
|
if forbidden:
|
|
1101
1108
|
raise ForbiddenError
|
|
1102
1109
|
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
|
{django_pfx-1.4.dev84 → django_pfx-1.4.dev88}/pfx/pfxcore/migrations/0002_pfxpermissionsuser.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{django_pfx-1.4.dev84 → django_pfx-1.4.dev88}/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.dev84 → django_pfx-1.4.dev88}/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.dev84 → django_pfx-1.4.dev88}/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.dev84 → django_pfx-1.4.dev88}/pfx/pfxcore/templates/registration/welcome_email.txt
RENAMED
|
File without changes
|
{django_pfx-1.4.dev84 → django_pfx-1.4.dev88}/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
|
|
File without changes
|
{django_pfx-1.4.dev84 → django_pfx-1.4.dev88}/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.dev84 → django_pfx-1.4.dev88}/pfx/pfxcore/views/parameters/subset_page_size.py
RENAMED
|
File without changes
|
{django_pfx-1.4.dev84 → django_pfx-1.4.dev88}/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.dev84 → django_pfx-1.4.dev88}/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.dev84 → django_pfx-1.4.dev88}/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.dev84 → django_pfx-1.4.dev88}/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
|