Skip to main content

No project description provided

Project description

Condensed InlinePanel for Wagtail CMS

This repository contains a drop-in replacement for Wagtail's InlinePanel. It's designed with a lighter interface that's suitable for cases where there may be hundreds of items in the panel.

Screenshot

Features

  • Fast, react-based UI which hides away forms that aren't being used
  • Drag and drop reordering
  • Add a new item at any point

Installation

Firstly, install the module with PIP:

pip install wagtail-condensedinlinepanel==0.5.2

Then, add condensedinlinepanel to your INSTALLED_APPS:

# settings.py


INSTALLED_APPS = [
    ...

    'condensedinlinepanel',

    ...
]

Then, finally, import the edit handler and use it. CondensedInlinePanel can be used as a drop-in replacement for Wagtail's built-in InlinePanel:

# models.py

...

from condensedinlinepanel.edit_handlers import CondensedInlinePanel

...

class MyPage(Page):
    ...

    content_panels = [
        ...

        CondensedInlinePanel('carousel_items', label="Carousel items", card_header_from_field="title"),
    ]

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

wagtail-condensedinlinepanel-0.5.3.tar.gz (85.0 kB view hashes)

Uploaded Source

Built Distribution

wagtail_condensedinlinepanel-0.5.3-py2.py3-none-any.whl (90.9 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page