mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-01-24 00:04:16 +03:00
e2a4559c03
* fix: Make the instance variable of child serializer point to the correct list object instead of the entire list when validating ListSerializer * fix formatting issues for list serializer validation fix * fix imports sorting for list serializer tests * remove django 2.2 from docs index (#8982) * Declared Django 4.2 support in README.md (#8985) * Fix Links in Documentation to Django `reverse` and `reverse_lazy` (#8986) * Fix Django Docs url in reverse.md Django URLs of the documentation of `reverse` and `reverse_lazy` were wrong. * Update reverse.md * fix URLPathVersioning reverse fallback (#7247) * fix URLPathVersioning reverse fallback * add test for URLPathVersioning reverse fallback * Update tests/test_versioning.py --------- Co-authored-by: Jorn van Wier <jorn.van.wier@thunderbyte.ai> Co-authored-by: Asif Saif Uddin <auvipy@gmail.com> * Make set_value a method within `Serializer` (#8001) * Make set_value a static method for Serializers As an alternative to #7671, let the method be overridden if needed. As the function is only used for serializers, it has a better place in the Serializer class. * Set `set_value` as an object (non-static) method * Add tests for set_value() These tests follow the examples given in the method. * fix: Make the instance variable of child serializer point to the correct list object instead of the entire list when validating ListSerializer * Make set_value a method within `Serializer` (#8001) * Make set_value a static method for Serializers As an alternative to #7671, let the method be overridden if needed. As the function is only used for serializers, it has a better place in the Serializer class. * Set `set_value` as an object (non-static) method * Add tests for set_value() These tests follow the examples given in the method. * fix: Make the instance variable of child serializer point to the correct list object instead of the entire list when validating ListSerializer * fix: Make the instance variable of child serializer point to the correct list object instead of the entire list when validating ListSerializer * fix formatting issues for list serializer validation fix * fix: Make the instance variable of child serializer point to the correct list object instead of the entire list when validating ListSerializer * fix formatting issues for list serializer validation fix * fix linting * Update rest_framework/serializers.py Co-authored-by: Sergei Shishov <sshishov@users.noreply.github.com> * Update rest_framework/serializers.py Co-authored-by: Sergei Shishov <sshishov@users.noreply.github.com> * fix: instance variable in list serializer, remove commented code --------- Co-authored-by: Mathieu Dupuy <deronnax@gmail.com> Co-authored-by: Mehraz Hossain Rumman <59512321+MehrazRumman@users.noreply.github.com> Co-authored-by: Dominik Bruhn <dominik@dbruhn.de> Co-authored-by: jornvanwier <mail@jornvanwier.com> Co-authored-by: Jorn van Wier <jorn.van.wier@thunderbyte.ai> Co-authored-by: Asif Saif Uddin <auvipy@gmail.com> Co-authored-by: Étienne Beaulé <beauleetienne0@gmail.com> Co-authored-by: Sergei Shishov <sshishov@users.noreply.github.com> |
||
---|---|---|
.. | ||
authentication | ||
browsable_api | ||
generic_relations | ||
importable | ||
schemas | ||
__init__.py | ||
conftest.py | ||
models.py | ||
test_api_client.py | ||
test_atomic_requests.py | ||
test_authtoken.py | ||
test_bound_fields.py | ||
test_decorators.py | ||
test_description.py | ||
test_encoders.py | ||
test_exceptions.py | ||
test_fields.py | ||
test_filters.py | ||
test_generics.py | ||
test_htmlrenderer.py | ||
test_lazy_hyperlinks.py | ||
test_metadata.py | ||
test_middleware.py | ||
test_model_serializer.py | ||
test_multitable_inheritance.py | ||
test_negotiation.py | ||
test_one_to_one_with_inheritance.py | ||
test_pagination.py | ||
test_parsers.py | ||
test_permissions.py | ||
test_prefetch_related.py | ||
test_relations_hyperlink.py | ||
test_relations_pk.py | ||
test_relations_slug.py | ||
test_relations.py | ||
test_renderers.py | ||
test_request.py | ||
test_requests_client.py | ||
test_response.py | ||
test_reverse.py | ||
test_routers.py | ||
test_serializer_bulk_update.py | ||
test_serializer_lists.py | ||
test_serializer_nested.py | ||
test_serializer.py | ||
test_settings.py | ||
test_status.py | ||
test_templates.py | ||
test_templatetags.py | ||
test_testing.py | ||
test_throttling.py | ||
test_urlpatterns.py | ||
test_utils.py | ||
test_validation_error.py | ||
test_validation.py | ||
test_validators.py | ||
test_versioning.py | ||
test_views.py | ||
test_viewsets.py | ||
test_write_only_fields.py | ||
urls.py | ||
utils.py |