Skip to content

Not compatible with DRF 3.5 #272

Description

@dhcrain

In requirements.txt it calls for djangorestframework>=3.1.0, current version is 3.5.1

Error:
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 PokemonMoveSerializer serializer."

Will submit pull request, with adding the fields attribute to the PokemonMoveSerializer using the fields from here; https://pokeapi.co/docsv2/#moves

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions