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.3
```
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"),
]
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.3
```
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
Built Distribution
Close
Hashes for wagtail-condensedinlinepanel-0.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0fb553f0f6457fadecb45639e0634b9de5495843e10bef589ffa90bbbda8425a |
|
MD5 | 8c997a67f0360b123e796cb4d2bb5ce0 |
|
BLAKE2b-256 | be30dc20c71c586ef2990e2184b6a9cc5d1be470d17b7467eac329ab1a0b368e |
Close
Hashes for wagtail_condensedinlinepanel-0.3-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bc522f288a10923ae54335c50841fd36fbe87721e2bb7798cdca8a664a3f90ee |
|
MD5 | 26d548c9a2ab2c5e39cbca1c8f365580 |
|
BLAKE2b-256 | 1450718eda9c4e4930a756eaf73a647dc333c4697ac5bf14a3ccb123be37c7b7 |