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.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"),
]
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.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
Built Distribution
Close
Hashes for wagtail-condensedinlinepanel-0.5.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b1e952c81b2e422a38170178dc78fdb72b0c25ef2b32f421032f598c3099b663 |
|
MD5 | d14129d08ac317fce91e2e375dee4d54 |
|
BLAKE2b-256 | 3828b59bb7c971dfd8cc2030b450af00ff04f6ee9a485265ebcf15d68f95544d |
Close
Hashes for wagtail_condensedinlinepanel-0.5.2-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ccce80483a0e4daccfe913c358101dd38b9b80c0cca269fce93e9acd054ecae7 |
|
MD5 | d6cfd00fcf1cde79dc1286ef94c8b8b3 |
|
BLAKE2b-256 | 1799b445b5b517883315acc742183fdf4d2e495288a85f750bc7e32b87581230 |