Skip to content

format_keys should use OrderedDict #30

@stianpr

Description

@stianpr

When having REST_EMBER_FORMAT_KEYS=True in settings the order of the fields are not in the same order as defined on the serializer. This should be easily fixed by using rest_framework.compat.OrderedDict in rest_framework.utils.py line 52.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions