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 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:

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

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.4.1.tar.gz (83.8 kB view details)

Uploaded Source

Built Distribution

wagtail_condensedinlinepanel-0.4.1-py2.py3-none-any.whl (92.6 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

File hashes

Hashes for wagtail-condensedinlinepanel-0.4.1.tar.gz
Algorithm Hash digest
SHA256 051b074924eca76659cfaccbdf89cfd9ee2e7dad2564ca1b4c5ce161868aae2d
MD5 b37d66a12a22f97e15176fa7d9df758a
BLAKE2b-256 9270758b64797dcd5a8dad7fd56bf95a158f0c90723aa4d8f3d3817ffb181eb4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for wagtail_condensedinlinepanel-0.4.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 7553f5268d91510890f6cebcfc5273875ee6cfcfb6a3fe0ec8fd51c3dd6969ec
MD5 22da4ffdfe4e9345679de70a0a368739
BLAKE2b-256 de66af395980bf92389dec9a0385e9e377a484476ef93ff93f9a926aace914a1

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