Skip to content

Conversation

russoz
Copy link
Contributor

@russoz russoz commented Nov 20, 2017

  • 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.

- model serializers now must provide either "fields" or "exclude" as attribute
Copy link
Collaborator

@carltongibson carltongibson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK. Fair enough. Thank you.

@carltongibson carltongibson added this to the v3.7.4 milestone Nov 20, 2017
@carltongibson carltongibson merged commit 2095446 into encode:master Nov 20, 2017
pchiquet pushed a commit to pchiquet/django-rest-framework that referenced this pull request Nov 17, 2020
- model serializers now must provide either "fields" or "exclude" as attribute
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants