Add django-pydantic-field and drf-pydantic to third-party packages do…#9913
Add django-pydantic-field and drf-pydantic to third-party packages do…#9913auvipy merged 1 commit intoencode:mainfrom
Conversation
There was a problem hiding this comment.
Pull request overview
This PR adds two Pydantic integration packages — django-pydantic-field and drf-pydantic — to the Django REST Framework documentation. Both packages bridge Pydantic with DRF: one for using Pydantic models as schemas for Django's JSONField, and the other for full DRF serializer/validation integration.
Changes:
- Add
django-pydantic-fieldanddrf-pydanticto the Serializers section ofthird-party-packages.md, with link references. - Add a dedicated "DRF Pydantic" section with a description and link reference for
drf-pydanticinserializers.md.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
docs/community/third-party-packages.md |
Adds bullet entries and link references for both django-pydantic-field and drf-pydantic in the Serializers section. |
docs/api-guide/serializers.md |
Adds a "DRF Pydantic" section entry and link reference for drf-pydantic only. |
One issue was identified:
The PR description explicitly calls out both packages for inclusion, and drf-pydantic receives a full section in docs/api-guide/serializers.md. However, django-pydantic-field — whose description even highlights its "integration with Django REST Framework" — is not given a corresponding entry in serializers.md. This is an inconsistency between the PR description intent and the actual changes.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
docs: add Pydantic integration packages to serializers documentation
#9873