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.
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:
pip install wagtail-condensedinlinepanel==0.5.2
Then, add condensedinlinepanel
to your INSTALLED_APPS
:
# 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
:
# 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
File details
Details for the file wagtail-condensedinlinepanel-0.5.3.tar.gz
.
File metadata
- Download URL: wagtail-condensedinlinepanel-0.5.3.tar.gz
- Upload date:
- Size: 85.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.44.1 CPython/3.7.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1e314ea32d02bc18407762477fda989efedc7df1f92cd2064aa3b41532c43251 |
|
MD5 | 3dcb464f61a913df404d2f2407cfb06a |
|
BLAKE2b-256 | c0df2e525978594fb2423324451a05debdc2596807756d37348326518d4c6f7f |
File details
Details for the file wagtail_condensedinlinepanel-0.5.3-py2.py3-none-any.whl
.
File metadata
- Download URL: wagtail_condensedinlinepanel-0.5.3-py2.py3-none-any.whl
- Upload date:
- Size: 90.9 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.44.1 CPython/3.7.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | be66b6b2d3f00cc4295af23c1ea148ecf7f72cdf83420f0d3ba30549454aa1fe |
|
MD5 | 5ac9d2e14b15db1968896732846f1a87 |
|
BLAKE2b-256 | c12dd4601532c55a13e4d9099aed44fdfef814e87c69d2999f06cf48c6356f7b |