Metadata-Version: 2.0
Name: wagtail-condensedinlinepanel
Version: 0.1
Summary: UNKNOWN
Home-page: UNKNOWN
Author: Karl Hobley
Author-email: karlhobley10@gmail.com
License: BSD
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Environment :: Web Environment
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: BSD License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Framework :: Django
Classifier: Framework :: Django :: 1.8
Classifier: Framework :: Django :: 1.9
Classifier: Topic :: Internet :: WWW/HTTP :: Site Management

# Condensed InlinePanel for Wagtail CMS

**WARNING**: This component is in early stages of development and contains bugs. It may also require customisation in order to use it on a new project.

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 -e git://github.com/kaedroho/wagtail-condensedinlinepanel.git@v0.1#egg=wagtail-condensedinlinepanel
```

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"),
    ]


