django-pfx 1.4.dev78__tar.gz → 1.4.dev80__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.dev78 → django_pfx-1.4.dev80}/PKG-INFO +1 -1
- {django_pfx-1.4.dev78 → django_pfx-1.4.dev80}/django_pfx.egg-info/PKG-INFO +1 -1
- {django_pfx-1.4.dev78 → django_pfx-1.4.dev80}/pfx/pfxcore/views/fields.py +9 -4
- {django_pfx-1.4.dev78 → django_pfx-1.4.dev80}/.gitignore +0 -0
- {django_pfx-1.4.dev78 → django_pfx-1.4.dev80}/.gitlab-ci.yml +0 -0
- {django_pfx-1.4.dev78 → django_pfx-1.4.dev80}/.pre-commit-config.yaml +0 -0
- {django_pfx-1.4.dev78 → django_pfx-1.4.dev80}/LICENSE +0 -0
- {django_pfx-1.4.dev78 → django_pfx-1.4.dev80}/MANIFEST.in +0 -0
- {django_pfx-1.4.dev78 → django_pfx-1.4.dev80}/README.md +0 -0
- {django_pfx-1.4.dev78 → django_pfx-1.4.dev80}/django_pfx.egg-info/SOURCES.txt +0 -0
- {django_pfx-1.4.dev78 → django_pfx-1.4.dev80}/django_pfx.egg-info/dependency_links.txt +0 -0
- {django_pfx-1.4.dev78 → django_pfx-1.4.dev80}/django_pfx.egg-info/requires.txt +0 -0
- {django_pfx-1.4.dev78 → django_pfx-1.4.dev80}/django_pfx.egg-info/top_level.txt +0 -0
- {django_pfx-1.4.dev78 → django_pfx-1.4.dev80}/doc/Makefile +0 -0
- {django_pfx-1.4.dev78 → django_pfx-1.4.dev80}/doc/conf.py +0 -0
- {django_pfx-1.4.dev78 → django_pfx-1.4.dev80}/doc/index.rst +0 -0
- {django_pfx-1.4.dev78 → django_pfx-1.4.dev80}/doc/source/api.views.rst +0 -0
- {django_pfx-1.4.dev78 → django_pfx-1.4.dev80}/doc/source/authentication.md +0 -0
- {django_pfx-1.4.dev78 → django_pfx-1.4.dev80}/doc/source/decorator.md +0 -0
- {django_pfx-1.4.dev78 → django_pfx-1.4.dev80}/doc/source/generate_openapi.md +0 -0
- {django_pfx-1.4.dev78 → django_pfx-1.4.dev80}/doc/source/getting_started.md +0 -0
- {django_pfx-1.4.dev78 → django_pfx-1.4.dev80}/doc/source/internationalisation.md +0 -0
- {django_pfx-1.4.dev78 → django_pfx-1.4.dev80}/doc/source/model.md +0 -0
- {django_pfx-1.4.dev78 → django_pfx-1.4.dev80}/doc/source/pfx_views.md +0 -0
- {django_pfx-1.4.dev78 → django_pfx-1.4.dev80}/doc/source/profiling.md +0 -0
- {django_pfx-1.4.dev78 → django_pfx-1.4.dev80}/doc/source/settings.md +0 -0
- {django_pfx-1.4.dev78 → django_pfx-1.4.dev80}/doc/source/testing.md +0 -0
- {django_pfx-1.4.dev78 → django_pfx-1.4.dev80}/img/pfx.png +0 -0
- {django_pfx-1.4.dev78 → django_pfx-1.4.dev80}/img/pfx.svg +0 -0
- {django_pfx-1.4.dev78 → django_pfx-1.4.dev80}/make_messages +0 -0
- {django_pfx-1.4.dev78 → django_pfx-1.4.dev80}/manage.py +0 -0
- {django_pfx-1.4.dev78 → django_pfx-1.4.dev80}/pfx/__init__.py +0 -0
- {django_pfx-1.4.dev78 → django_pfx-1.4.dev80}/pfx/pfxcore/__init__.py +0 -0
- {django_pfx-1.4.dev78 → django_pfx-1.4.dev80}/pfx/pfxcore/apidoc/__init__.py +0 -0
- {django_pfx-1.4.dev78 → django_pfx-1.4.dev80}/pfx/pfxcore/apidoc/parameters.py +0 -0
- {django_pfx-1.4.dev78 → django_pfx-1.4.dev80}/pfx/pfxcore/apidoc/schema.py +0 -0
- {django_pfx-1.4.dev78 → django_pfx-1.4.dev80}/pfx/pfxcore/apidoc/tags.py +0 -0
- {django_pfx-1.4.dev78 → django_pfx-1.4.dev80}/pfx/pfxcore/apps.py +0 -0
- {django_pfx-1.4.dev78 → django_pfx-1.4.dev80}/pfx/pfxcore/decorator/__init__.py +0 -0
- {django_pfx-1.4.dev78 → django_pfx-1.4.dev80}/pfx/pfxcore/decorator/rest.py +0 -0
- {django_pfx-1.4.dev78 → django_pfx-1.4.dev80}/pfx/pfxcore/default_settings.py +0 -0
- {django_pfx-1.4.dev78 → django_pfx-1.4.dev80}/pfx/pfxcore/exceptions.py +0 -0
- {django_pfx-1.4.dev78 → django_pfx-1.4.dev80}/pfx/pfxcore/fields.py +0 -0
- {django_pfx-1.4.dev78 → django_pfx-1.4.dev80}/pfx/pfxcore/http/__init__.py +0 -0
- {django_pfx-1.4.dev78 → django_pfx-1.4.dev80}/pfx/pfxcore/http/json_response.py +0 -0
- {django_pfx-1.4.dev78 → django_pfx-1.4.dev80}/pfx/pfxcore/locale/fr/LC_MESSAGES/django.mo +0 -0
- {django_pfx-1.4.dev78 → django_pfx-1.4.dev80}/pfx/pfxcore/locale/fr/LC_MESSAGES/django.po +0 -0
- {django_pfx-1.4.dev78 → django_pfx-1.4.dev80}/pfx/pfxcore/management/__init__.py +0 -0
- {django_pfx-1.4.dev78 → django_pfx-1.4.dev80}/pfx/pfxcore/management/commands/__init__.py +0 -0
- {django_pfx-1.4.dev78 → django_pfx-1.4.dev80}/pfx/pfxcore/management/commands/makeapidoc.py +0 -0
- {django_pfx-1.4.dev78 → django_pfx-1.4.dev80}/pfx/pfxcore/management/commands/profile.py +0 -0
- {django_pfx-1.4.dev78 → django_pfx-1.4.dev80}/pfx/pfxcore/middleware/__init__.py +0 -0
- {django_pfx-1.4.dev78 → django_pfx-1.4.dev80}/pfx/pfxcore/middleware/authentication.py +0 -0
- {django_pfx-1.4.dev78 → django_pfx-1.4.dev80}/pfx/pfxcore/middleware/locale.py +0 -0
- {django_pfx-1.4.dev78 → django_pfx-1.4.dev80}/pfx/pfxcore/middleware/profiling.py +0 -0
- {django_pfx-1.4.dev78 → django_pfx-1.4.dev80}/pfx/pfxcore/migrations/0001_initial.py +0 -0
- {django_pfx-1.4.dev78 → django_pfx-1.4.dev80}/pfx/pfxcore/migrations/0002_pfxpermissionsuser.py +0 -0
- {django_pfx-1.4.dev78 → django_pfx-1.4.dev80}/pfx/pfxcore/migrations/0003_delete_pfxpermissionsuser.py +0 -0
- {django_pfx-1.4.dev78 → django_pfx-1.4.dev80}/pfx/pfxcore/migrations/__init__.py +0 -0
- {django_pfx-1.4.dev78 → django_pfx-1.4.dev80}/pfx/pfxcore/migrations/operations/__init__.py +0 -0
- {django_pfx-1.4.dev78 → django_pfx-1.4.dev80}/pfx/pfxcore/migrations/operations/permissions.py +0 -0
- {django_pfx-1.4.dev78 → django_pfx-1.4.dev80}/pfx/pfxcore/models/__init__.py +0 -0
- {django_pfx-1.4.dev78 → django_pfx-1.4.dev80}/pfx/pfxcore/models/abstract_pfx_base_user.py +0 -0
- {django_pfx-1.4.dev78 → django_pfx-1.4.dev80}/pfx/pfxcore/models/cache_mixins.py +0 -0
- {django_pfx-1.4.dev78 → django_pfx-1.4.dev80}/pfx/pfxcore/models/login_ban.py +0 -0
- {django_pfx-1.4.dev78 → django_pfx-1.4.dev80}/pfx/pfxcore/models/not_null_fields.py +0 -0
- {django_pfx-1.4.dev78 → django_pfx-1.4.dev80}/pfx/pfxcore/models/otp_user_mixin.py +0 -0
- {django_pfx-1.4.dev78 → django_pfx-1.4.dev80}/pfx/pfxcore/models/pfx_models.py +0 -0
- {django_pfx-1.4.dev78 → django_pfx-1.4.dev80}/pfx/pfxcore/models/pfx_user.py +0 -0
- {django_pfx-1.4.dev78 → django_pfx-1.4.dev80}/pfx/pfxcore/models/user_filtered_queryset_mixin.py +0 -0
- {django_pfx-1.4.dev78 → django_pfx-1.4.dev80}/pfx/pfxcore/serializers/__init__.py +0 -0
- {django_pfx-1.4.dev78 → django_pfx-1.4.dev80}/pfx/pfxcore/serializers/json.py +0 -0
- {django_pfx-1.4.dev78 → django_pfx-1.4.dev80}/pfx/pfxcore/settings.py +0 -0
- {django_pfx-1.4.dev78 → django_pfx-1.4.dev80}/pfx/pfxcore/shortcuts.py +0 -0
- {django_pfx-1.4.dev78 → django_pfx-1.4.dev80}/pfx/pfxcore/storage/__init__.py +0 -0
- {django_pfx-1.4.dev78 → django_pfx-1.4.dev80}/pfx/pfxcore/storage/s3_storage.py +0 -0
- {django_pfx-1.4.dev78 → django_pfx-1.4.dev80}/pfx/pfxcore/templates/registration/otp_code_email.txt +0 -0
- {django_pfx-1.4.dev78 → django_pfx-1.4.dev80}/pfx/pfxcore/templates/registration/otp_code_subject.txt +0 -0
- {django_pfx-1.4.dev78 → django_pfx-1.4.dev80}/pfx/pfxcore/templates/registration/password_reset_email.txt +0 -0
- {django_pfx-1.4.dev78 → django_pfx-1.4.dev80}/pfx/pfxcore/templates/registration/password_reset_subject.txt +0 -0
- {django_pfx-1.4.dev78 → django_pfx-1.4.dev80}/pfx/pfxcore/templates/registration/welcome_email.txt +0 -0
- {django_pfx-1.4.dev78 → django_pfx-1.4.dev80}/pfx/pfxcore/templates/registration/welcome_subject.txt +0 -0
- {django_pfx-1.4.dev78 → django_pfx-1.4.dev80}/pfx/pfxcore/test.py +0 -0
- {django_pfx-1.4.dev78 → django_pfx-1.4.dev80}/pfx/pfxcore/urls.py +0 -0
- {django_pfx-1.4.dev78 → django_pfx-1.4.dev80}/pfx/pfxcore/views/__init__.py +0 -0
- {django_pfx-1.4.dev78 → django_pfx-1.4.dev80}/pfx/pfxcore/views/authentication_views.py +0 -0
- {django_pfx-1.4.dev78 → django_pfx-1.4.dev80}/pfx/pfxcore/views/filters_views.py +0 -0
- {django_pfx-1.4.dev78 → django_pfx-1.4.dev80}/pfx/pfxcore/views/locale_views.py +0 -0
- {django_pfx-1.4.dev78 → django_pfx-1.4.dev80}/pfx/pfxcore/views/parameters/__init__.py +0 -0
- {django_pfx-1.4.dev78 → django_pfx-1.4.dev80}/pfx/pfxcore/views/parameters/date_format.py +0 -0
- {django_pfx-1.4.dev78 → django_pfx-1.4.dev80}/pfx/pfxcore/views/parameters/groups.py +0 -0
- {django_pfx-1.4.dev78 → django_pfx-1.4.dev80}/pfx/pfxcore/views/parameters/list_count.py +0 -0
- {django_pfx-1.4.dev78 → django_pfx-1.4.dev80}/pfx/pfxcore/views/parameters/list_items.py +0 -0
- {django_pfx-1.4.dev78 → django_pfx-1.4.dev80}/pfx/pfxcore/views/parameters/list_mode.py +0 -0
- {django_pfx-1.4.dev78 → django_pfx-1.4.dev80}/pfx/pfxcore/views/parameters/list_order.py +0 -0
- {django_pfx-1.4.dev78 → django_pfx-1.4.dev80}/pfx/pfxcore/views/parameters/list_search.py +0 -0
- {django_pfx-1.4.dev78 → django_pfx-1.4.dev80}/pfx/pfxcore/views/parameters/media_redirect.py +0 -0
- {django_pfx-1.4.dev78 → django_pfx-1.4.dev80}/pfx/pfxcore/views/parameters/meta_fields.py +0 -0
- {django_pfx-1.4.dev78 → django_pfx-1.4.dev80}/pfx/pfxcore/views/parameters/meta_filters.py +0 -0
- {django_pfx-1.4.dev78 → django_pfx-1.4.dev80}/pfx/pfxcore/views/parameters/meta_orders.py +0 -0
- {django_pfx-1.4.dev78 → django_pfx-1.4.dev80}/pfx/pfxcore/views/parameters/subset.py +0 -0
- {django_pfx-1.4.dev78 → django_pfx-1.4.dev80}/pfx/pfxcore/views/parameters/subset_limit.py +0 -0
- {django_pfx-1.4.dev78 → django_pfx-1.4.dev80}/pfx/pfxcore/views/parameters/subset_offset.py +0 -0
- {django_pfx-1.4.dev78 → django_pfx-1.4.dev80}/pfx/pfxcore/views/parameters/subset_page.py +0 -0
- {django_pfx-1.4.dev78 → django_pfx-1.4.dev80}/pfx/pfxcore/views/parameters/subset_page_size.py +0 -0
- {django_pfx-1.4.dev78 → django_pfx-1.4.dev80}/pfx/pfxcore/views/parameters/subset_page_subset.py +0 -0
- {django_pfx-1.4.dev78 → django_pfx-1.4.dev80}/pfx/pfxcore/views/rest_views.py +0 -0
- {django_pfx-1.4.dev78 → django_pfx-1.4.dev80}/pfx/settings/__init__.py +0 -0
- {django_pfx-1.4.dev78 → django_pfx-1.4.dev80}/pfx/settings/dev.py +0 -0
- {django_pfx-1.4.dev78 → django_pfx-1.4.dev80}/pyproject.toml +0 -0
- {django_pfx-1.4.dev78 → django_pfx-1.4.dev80}/requirements.txt +0 -0
- {django_pfx-1.4.dev78 → django_pfx-1.4.dev80}/serve-doc +0 -0
- {django_pfx-1.4.dev78 → django_pfx-1.4.dev80}/setup.cfg +0 -0
- {django_pfx-1.4.dev78 → django_pfx-1.4.dev80}/setup.py +0 -0
- {django_pfx-1.4.dev78 → django_pfx-1.4.dev80}/tests/__init__.py +0 -0
- {django_pfx-1.4.dev78 → django_pfx-1.4.dev80}/tests/locale/fr/LC_MESSAGES/django.po +0 -0
- {django_pfx-1.4.dev78 → django_pfx-1.4.dev80}/tests/migrations/0001_initial.py +0 -0
- {django_pfx-1.4.dev78 → django_pfx-1.4.dev80}/tests/migrations/__init__.py +0 -0
- {django_pfx-1.4.dev78 → django_pfx-1.4.dev80}/tests/models.py +0 -0
- {django_pfx-1.4.dev78 → django_pfx-1.4.dev80}/tests/settings/__init__.py +0 -0
- {django_pfx-1.4.dev78 → django_pfx-1.4.dev80}/tests/settings/ci.py +0 -0
- {django_pfx-1.4.dev78 → django_pfx-1.4.dev80}/tests/settings/common.py +0 -0
- {django_pfx-1.4.dev78 → django_pfx-1.4.dev80}/tests/settings/dev.py +0 -0
- {django_pfx-1.4.dev78 → django_pfx-1.4.dev80}/tests/settings/dev_custom_example.py +0 -0
- {django_pfx-1.4.dev78 → django_pfx-1.4.dev80}/tests/settings/dev_default.py +0 -0
- {django_pfx-1.4.dev78 → django_pfx-1.4.dev80}/tests/tests/__init__.py +0 -0
- {django_pfx-1.4.dev78 → django_pfx-1.4.dev80}/tests/tests/basic_api_errors.py +0 -0
- {django_pfx-1.4.dev78 → django_pfx-1.4.dev80}/tests/tests/basic_api_test.py +0 -0
- {django_pfx-1.4.dev78 → django_pfx-1.4.dev80}/tests/tests/test_api_doc.py +0 -0
- {django_pfx-1.4.dev78 → django_pfx-1.4.dev80}/tests/tests/test_api_doc_search.py +0 -0
- {django_pfx-1.4.dev78 → django_pfx-1.4.dev80}/tests/tests/test_auth_api.py +0 -0
- {django_pfx-1.4.dev78 → django_pfx-1.4.dev80}/tests/tests/test_body_mixin.py +0 -0
- {django_pfx-1.4.dev78 → django_pfx-1.4.dev80}/tests/tests/test_cache.py +0 -0
- {django_pfx-1.4.dev78 → django_pfx-1.4.dev80}/tests/tests/test_client.py +0 -0
- {django_pfx-1.4.dev78 → django_pfx-1.4.dev80}/tests/tests/test_fields.py +0 -0
- {django_pfx-1.4.dev78 → django_pfx-1.4.dev80}/tests/tests/test_filters.py +0 -0
- {django_pfx-1.4.dev78 → django_pfx-1.4.dev80}/tests/tests/test_locale_api.py +0 -0
- {django_pfx-1.4.dev78 → django_pfx-1.4.dev80}/tests/tests/test_perm_tests.py +0 -0
- {django_pfx-1.4.dev78 → django_pfx-1.4.dev80}/tests/tests/test_permissions.py +0 -0
- {django_pfx-1.4.dev78 → django_pfx-1.4.dev80}/tests/tests/test_perms_api.py +0 -0
- {django_pfx-1.4.dev78 → django_pfx-1.4.dev80}/tests/tests/test_post_migrate_groups_update.py +0 -0
- {django_pfx-1.4.dev78 → django_pfx-1.4.dev80}/tests/tests/test_profiling_middleware.py +0 -0
- {django_pfx-1.4.dev78 → django_pfx-1.4.dev80}/tests/tests/test_settings.py +0 -0
- {django_pfx-1.4.dev78 → django_pfx-1.4.dev80}/tests/tests/test_shortcuts.py +0 -0
- {django_pfx-1.4.dev78 → django_pfx-1.4.dev80}/tests/tests/test_timezone_middleware.py +0 -0
- {django_pfx-1.4.dev78 → django_pfx-1.4.dev80}/tests/tests/test_tools.py +0 -0
- {django_pfx-1.4.dev78 → django_pfx-1.4.dev80}/tests/tests/test_user_queryset.py +0 -0
- {django_pfx-1.4.dev78 → django_pfx-1.4.dev80}/tests/tests/test_view_decorators.py +0 -0
- {django_pfx-1.4.dev78 → django_pfx-1.4.dev80}/tests/tests/test_view_fields.py +0 -0
- {django_pfx-1.4.dev78 → django_pfx-1.4.dev80}/tests/urls.py +0 -0
- {django_pfx-1.4.dev78 → django_pfx-1.4.dev80}/tests/views.py +0 -0
- {django_pfx-1.4.dev78 → django_pfx-1.4.dev80}/tests_base_user/__init__.py +0 -0
- {django_pfx-1.4.dev78 → django_pfx-1.4.dev80}/tests_base_user/migrations/0001_initial.py +0 -0
- {django_pfx-1.4.dev78 → django_pfx-1.4.dev80}/tests_base_user/migrations/__init__.py +0 -0
- {django_pfx-1.4.dev78 → django_pfx-1.4.dev80}/tests_base_user/settings/__init__.py +0 -0
- {django_pfx-1.4.dev78 → django_pfx-1.4.dev80}/tests_base_user/settings/ci.py +0 -0
- {django_pfx-1.4.dev78 → django_pfx-1.4.dev80}/tests_base_user/settings/common.py +0 -0
- {django_pfx-1.4.dev78 → django_pfx-1.4.dev80}/tests_base_user/settings/dev.py +0 -0
- {django_pfx-1.4.dev78 → django_pfx-1.4.dev80}/tests_base_user/settings/dev_custom_example.py +0 -0
- {django_pfx-1.4.dev78 → django_pfx-1.4.dev80}/tests_base_user/settings/dev_default.py +0 -0
- {django_pfx-1.4.dev78 → django_pfx-1.4.dev80}/tests_base_user/tests/__init__.py +0 -0
- {django_pfx-1.4.dev78 → django_pfx-1.4.dev80}/tests_base_user/tests/test_api.py +0 -0
- {django_pfx-1.4.dev78 → django_pfx-1.4.dev80}/tests_base_user/tests/test_auth_api.py +0 -0
- {django_pfx-1.4.dev78 → django_pfx-1.4.dev80}/tests_base_user/urls.py +0 -0
- {django_pfx-1.4.dev78 → django_pfx-1.4.dev80}/tests_base_user/views.py +0 -0
- {django_pfx-1.4.dev78 → django_pfx-1.4.dev80}/tests_custom_user/__init__.py +0 -0
- {django_pfx-1.4.dev78 → django_pfx-1.4.dev80}/tests_custom_user/migrations/0001_initial.py +0 -0
- {django_pfx-1.4.dev78 → django_pfx-1.4.dev80}/tests_custom_user/migrations/__init__.py +0 -0
- {django_pfx-1.4.dev78 → django_pfx-1.4.dev80}/tests_custom_user/models.py +0 -0
- {django_pfx-1.4.dev78 → django_pfx-1.4.dev80}/tests_custom_user/settings/__init__.py +0 -0
- {django_pfx-1.4.dev78 → django_pfx-1.4.dev80}/tests_custom_user/settings/ci.py +0 -0
- {django_pfx-1.4.dev78 → django_pfx-1.4.dev80}/tests_custom_user/settings/common.py +0 -0
- {django_pfx-1.4.dev78 → django_pfx-1.4.dev80}/tests_custom_user/settings/dev.py +0 -0
- {django_pfx-1.4.dev78 → django_pfx-1.4.dev80}/tests_custom_user/settings/dev_custom_example.py +0 -0
- {django_pfx-1.4.dev78 → django_pfx-1.4.dev80}/tests_custom_user/settings/dev_default.py +0 -0
- {django_pfx-1.4.dev78 → django_pfx-1.4.dev80}/tests_custom_user/tests/__init__.py +0 -0
- {django_pfx-1.4.dev78 → django_pfx-1.4.dev80}/tests_custom_user/tests/test_api.py +0 -0
- {django_pfx-1.4.dev78 → django_pfx-1.4.dev80}/tests_custom_user/tests/test_auth_api.py +0 -0
- {django_pfx-1.4.dev78 → django_pfx-1.4.dev80}/tests_custom_user/urls.py +0 -0
- {django_pfx-1.4.dev78 → django_pfx-1.4.dev80}/tests_custom_user/views.py +0 -0
|
@@ -13,6 +13,7 @@ from apispec.utils import deepupdate
|
|
|
13
13
|
from apispec.yaml_utils import load_yaml_from_docstring
|
|
14
14
|
|
|
15
15
|
from pfx.pfxcore import fields as pfx_fields
|
|
16
|
+
from pfx.pfxcore.models import JSONReprMixin
|
|
16
17
|
from pfx.pfxcore.shortcuts import get_object
|
|
17
18
|
|
|
18
19
|
logger = logging.getLogger(__name__)
|
|
@@ -228,8 +229,10 @@ class ViewField:
|
|
|
228
229
|
properties = {}
|
|
229
230
|
if self.related_model:
|
|
230
231
|
res['format'] = str(self.related_model._meta.verbose_name)
|
|
231
|
-
|
|
232
|
-
|
|
232
|
+
doc = None
|
|
233
|
+
if issubclass(self.related_model, JSONReprMixin):
|
|
234
|
+
properties.update(self.related_model.json_repr_schema())
|
|
235
|
+
doc = inspect.getdoc(self.related_model.json_repr)
|
|
233
236
|
if doc:
|
|
234
237
|
properties = deepupdate(
|
|
235
238
|
load_yaml_from_docstring(doc), properties)
|
|
@@ -259,8 +262,10 @@ class ViewField:
|
|
|
259
262
|
if self.related_model:
|
|
260
263
|
res['items']['format'] = str(
|
|
261
264
|
self.related_model._meta.verbose_name)
|
|
262
|
-
|
|
263
|
-
|
|
265
|
+
doc = None
|
|
266
|
+
if issubclass(self.related_model, JSONReprMixin):
|
|
267
|
+
properties.update(self.related_model.json_repr_schema())
|
|
268
|
+
doc = inspect.getdoc(self.related_model.json_repr)
|
|
264
269
|
if doc:
|
|
265
270
|
properties = deepupdate(
|
|
266
271
|
load_yaml_from_docstring(doc), properties)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
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.dev78 → django_pfx-1.4.dev80}/pfx/pfxcore/migrations/0002_pfxpermissionsuser.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{django_pfx-1.4.dev78 → django_pfx-1.4.dev80}/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
|
{django_pfx-1.4.dev78 → django_pfx-1.4.dev80}/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.dev78 → django_pfx-1.4.dev80}/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.dev78 → django_pfx-1.4.dev80}/pfx/pfxcore/templates/registration/welcome_email.txt
RENAMED
|
File without changes
|
{django_pfx-1.4.dev78 → django_pfx-1.4.dev80}/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.dev78 → django_pfx-1.4.dev80}/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.dev78 → django_pfx-1.4.dev80}/pfx/pfxcore/views/parameters/subset_page_size.py
RENAMED
|
File without changes
|
{django_pfx-1.4.dev78 → django_pfx-1.4.dev80}/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.dev78 → django_pfx-1.4.dev80}/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.dev78 → django_pfx-1.4.dev80}/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.dev78 → django_pfx-1.4.dev80}/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
|