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

Uploaded Source

Built Distribution

wagtail_condensedinlinepanel-0.4.2-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.2.tar.gz.

File metadata

File hashes

Hashes for wagtail-condensedinlinepanel-0.4.2.tar.gz
Algorithm Hash digest
SHA256 f5856d16afcf7f2443587c8bb9c523104edf5a7a7ba1f889561fd6beea50478b
MD5 cff42fb180e89d1af6bef7fad90bfe56
BLAKE2b-256 5dead18ac97f70cf8276243f90867c68b266c6a05c9724cdd9f9b53616d610e4

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for wagtail_condensedinlinepanel-0.4.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 e41552907e781227f9b800113c03f75fc707392b5ca7121ecbe3c1c726986c24
MD5 826286f62a13b62836a8eb7e291d8c46
BLAKE2b-256 040380f6d3e80383917f854c24169238381573a6673c1b532d4ff064011dc7de

See more details on using hashes here.

Provenance

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