10000 Require that custom page and snippet interfaces inherit from the defaults · Issue #408 · torchbox/wagtail-grapple · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Require that custom page and snippet interfaces inherit from the defaults #408
Open
@mgax

Description

@mgax

When users of the library use a custom page interface by configuring PAGE_INTERFACE, or a custom snippet interface (which is being added in #405), the interface they provide should inherit from the default interface, so that it provides all the right fields. #405 (comment)

Add checks in get_page_interface and get_snippet_interface and raise a warning if the interface doesn't inherit from the default interface.

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

      0