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"),
]
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
Built Distribution
Close
Hashes for wagtail-condensedinlinepanel-0.4.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 051b074924eca76659cfaccbdf89cfd9ee2e7dad2564ca1b4c5ce161868aae2d |
|
MD5 | b37d66a12a22f97e15176fa7d9df758a |
|
BLAKE2b-256 | 9270758b64797dcd5a8dad7fd56bf95a158f0c90723aa4d8f3d3817ffb181eb4 |
Close
Hashes for wagtail_condensedinlinepanel-0.4.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7553f5268d91510890f6cebcfc5273875ee6cfcfb6a3fe0ec8fd51c3dd6969ec |
|
MD5 | 22da4ffdfe4e9345679de70a0a368739 |
|
BLAKE2b-256 | de66af395980bf92389dec9a0385e9e377a484476ef93ff93f9a926aace914a1 |