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](screenshot.png)

## Features

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

## Installation

Firstly, install the module with PIP:

```shell
pip install wagtail-condensedinlinepanel==0.2
```

Then, add ``condensedinlinepanel`` to your ``INSTALLED_APPS``:

```python
# 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``:

```python
# 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.2.tar.gz (467.8 kB view details)

Uploaded Source

Built Distribution

wagtail_condensedinlinepanel-0.2-py2.py3-none-any.whl (478.8 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file wagtail-condensedinlinepanel-0.2.tar.gz.

File metadata

File hashes

Hashes for wagtail-condensedinlinepanel-0.2.tar.gz
Algorithm Hash digest
SHA256 ac7354254b3e3ee0730b12030cb6d9c952b8164a5e1a543ed5f9c97cccffad2b
MD5 77db46a7dd9e92eeb3e7a1b57aad3991
BLAKE2b-256 b45522647a28e1e03991d7f1c6ba0aac83c71e58c602055cad4484e1077ac817

See more details on using hashes here.

File details

Details for the file wagtail_condensedinlinepanel-0.2-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for wagtail_condensedinlinepanel-0.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 ea080ac3836e666bd433154561b1274fd28dd2d26a1b383b57bca2ae717628e8
MD5 5a6f6f00987afa59487907278c919c9c
BLAKE2b-256 861ea9ca4a79940bff6c05982802320d68d6296cece5f006699b47eff672d363

See more details on using hashes here.

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