# Django CMS Listyle
Adds a plugin to embed an ordered or unordered list to Django CMS. Children are automatically wrapped in `<li>` tags.
The plugin extends the [Django CMS Style](https://github.com/divio/djangocms-style) plugin in order to make the same configurations available (index, classes, etc..)
## Quick Start
1. Install the easy way, using pip:
$ pip install djangocms-listyle
2. Add "djangocms\_listyle" to your INSTALLED\_APPS setting like this:
INSTALLED_APPS = [
...
'djangocms_listyle',
]
3. Run `python manage.py migrate djangocms_listyle` to create the plugin models.
## Usage
Let say you want to build a set of social buttons like in the following example, which requires rendering an unordered list of elements:

The HTML being for the button row being:
<ul class="list-inline intro-social-buttons">
<li>
<a href="#" class="btn btn-default btn-lg network-name" role="button">
<span class="icon fa fa-twitter" aria-hidden="true"></span>
twitter
</a>
</li>
<li>
<a href="#" class="btn btn-default btn-lg network-name" role="button">
<span class="icon fa fa-github" aria-hidden="true"></span>
github
</a>
</li>
<li>
<a href="#" class="btn btn-default btn-lg network-name" role="button">
<span class="icon fa fa-linkedin" aria-hidden="true"></span>
linkedin
</a>
</li>
<li>
<a href="#" class="btn btn-default btn-lg network-name" role="button">
<span class="icon fa fa-envelope-o" aria-hidden="true"></span>
email
</a>
</li>
</ul>
Using the Django CMS Listyle plugin, we can easily nest any listed objects.

What a time to be alive.
## Running Tests
You can run tests by executing:
$ virtualenv venv -p python3
$ source venv/bin/activate
$ pip install -r tests/requirements.txt
$ python setup.py test
## License
This project is licensed under GPL 3.0 - see [LICENSE](LICENSE.md) for details.
Adds a plugin to embed an ordered or unordered list to Django CMS. Children are automatically wrapped in `<li>` tags.
The plugin extends the [Django CMS Style](https://github.com/divio/djangocms-style) plugin in order to make the same configurations available (index, classes, etc..)
## Quick Start
1. Install the easy way, using pip:
$ pip install djangocms-listyle
2. Add "djangocms\_listyle" to your INSTALLED\_APPS setting like this:
INSTALLED_APPS = [
...
'djangocms_listyle',
]
3. Run `python manage.py migrate djangocms_listyle` to create the plugin models.
## Usage
Let say you want to build a set of social buttons like in the following example, which requires rendering an unordered list of elements:

The HTML being for the button row being:
<ul class="list-inline intro-social-buttons">
<li>
<a href="#" class="btn btn-default btn-lg network-name" role="button">
<span class="icon fa fa-twitter" aria-hidden="true"></span>
</a>
</li>
<li>
<a href="#" class="btn btn-default btn-lg network-name" role="button">
<span class="icon fa fa-github" aria-hidden="true"></span>
github
</a>
</li>
<li>
<a href="#" class="btn btn-default btn-lg network-name" role="button">
<span class="icon fa fa-linkedin" aria-hidden="true"></span>
</a>
</li>
<li>
<a href="#" class="btn btn-default btn-lg network-name" role="button">
<span class="icon fa fa-envelope-o" aria-hidden="true"></span>
</a>
</li>
</ul>
Using the Django CMS Listyle plugin, we can easily nest any listed objects.

What a time to be alive.
## Running Tests
You can run tests by executing:
$ virtualenv venv -p python3
$ source venv/bin/activate
$ pip install -r tests/requirements.txt
$ python setup.py test
## License
This project is licensed under GPL 3.0 - see [LICENSE](LICENSE.md) for details.
Release files for djangocms-listyle 0.1.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| djangocms_listyle-0.1.7-py3-none-any.whl | Python 3 | none | any | Details |
Release files / djangocms_listyle-0.1.7-py3-none-any.whl
| Download URL | djangocms_listyle-0.1.7-py3-none-any.whl |
|---|---|
| Size | 17.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a667fb9105a5afcee42b0341ab1ca8b80eb601665d685146450969289b92d8aa
|
|
BLAKE2b-256 checksum How to use checksums |
ef8b87c3c41f17cdb19904d4b434821b52fd37a10b3bb519df646becc050ce36
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.9.1 setuptools/41.0.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.5.2
|