Fix in documentation by russoz · Pull Request #5611 · encode/django-rest-framework (original) (raw)
- model serializers must provide either "fields" or "exclude" as attribute (since version 3.3.0). In case of doubts, please check the django-rest-framework/rest_framework/serializers.py file, around line 1065.
Note: Before submitting this pull request, please review our contributing guidelines.
Description
Please describe your pull request. If it fixes a bug or resolves a feature request, be sure to link to that issue. When linking to an issue, please use refs #...
in the description of the pull request.