Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Explicit fields attribute __all__ for django-rest-framework 3.3.0 #22

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

davidp94
Copy link

AssertionError: ("Creating a ModelSerializer without either the 'fields' attribute or the 'exclude' attribute has been deprecated since 3.3.0, and is now disallowed. Add an explicit fields = 'all' to the MultiFactorAuthSerializer serializer.",)

Since django-rest-framework 3.3.0
```AssertionError: ("Creating a ModelSerializer without either the 'fields' attribute or the 'exclude' attribute has been deprecated since 3.3.0, and is now disallowed. Add an explicit fields = 'all' to the MultiFactorAuthSerializer serializer.",)```
This explicit changes would remove this error.
Explicit '__all__' for `MultiFactorAuthSerializer`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant