Skip to content

Add setting to choose what fields to export through api_fields wagtail feature #205

Open

Description

@MIKNOTAURO

Hi guys,
I need to build an API REST for a puput project.
My first attemp to achieve this was to extend the EntryPage model through EntryAbstract. But I realized that I just need to add api_fields to EntryPage model to make it work.
So,I think that it would be nice to have a setting (like a list for example) to choose what fields in EntryPage model to export through API feature of wagtail.
Btw, now I'm also want to control the serializer.
So, what do you think? Is there a better way to achieve this?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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