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.5
```
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 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.5
```
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.5.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1d3f8cdfca09f5d11e6bcfc6b517c9d9bac239746911247c2e1a45de7cd31b8b |
|
MD5 | 4d2ca30e0c20f9b348195676926de400 |
|
BLAKE2b-256 | f831626c6134e22eeec7389bf6203de83d062ba58e64b3ae29fb52a19e7e0af4 |
Close
Hashes for wagtail_condensedinlinepanel-0.5.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d7ac9b3ee0a8666b1d51b4fc70a072ce7a9294183e9d8012332b4c4a42e9f400 |
|
MD5 | b3030c82de28b54f7e3d1b3905c879c4 |
|
BLAKE2b-256 | 55bbd17fef84e26cb617ab818e866735bba4470060415facd59b63aa8df20c2d |