robinhood / deux

Multifactor Authentication for Django Rest Framework
Other
156 stars 56 forks source link

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

Open davidp94 opened 6 years ago

davidp94 commented 6 years ago

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.",)