Skip to content

How to override type? #618

Open
Open
@bijanrich

Description

@bijanrich

We have a model in the backend that we refer to as a different name in our public API. We need to override the type returned but haven't found a way to do this yet.

I tried adding def self._type (as I noticed that's where it was grabbing type from) to my base model class as well as the resource serializer but that didn't change the response.

Any help would be appreciated.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions