============
django-cms plugin that allow to create accordions on the frontend.
Installation
------------
To get the latest stable release from PyPi
.. code-block:: bash
pip install cmsplugin-accordion
To get the latest commit from GitHub
.. code-block:: bash
pip install -e git+git://github.com/bitmazk/cmsplugin-accordion.git#egg=cmsplugin_accordion
TODO: Describe further installation steps (edit / remove the examples below):
Add ``cmsplugin_accordion`` to your ``INSTALLED_APPS``
.. code-block:: python
INSTALLED_APPS = (
...,
'cmsplugin_accordion',
)
Don't forget to migrate your database
.. code-block:: bash
./manage.py migrate cmsplugin_accordion
Usage
-----
1. Create a new ``Accordion`` instance via the Django admin.
2. Create a few ``AccordionRow`` instances via the Django admin that belong
to the Accordion instance you created before.
3. Go to one of your CMS pages and add the ``Accordion Plugin``
4. Edit the ``cmsplugin_accordion/accordion_plugin.html`` template to your
liking.
That's it. You should now be able to embed accordions into your placeholders.
Contribute
----------
If you want to contribute to this project, please perform the following steps
.. code-block:: bash
# Fork this repository
# Clone your fork
mkvirtualenv -p python2.7 cmsplugin-accordion
make develop
git co -b feature_branch master
# Implement your feature and tests
git add . && git commit
git push -u origin feature_branch
# Send us a pull request for your feature branch
Metadata
Release files for cmsplugin-accordion 0.2.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| cmsplugin-accordion-0.2.2.tar.gz | 10.3 kB | Without provenance | Details for cmsplugin-accordion-0.2.2.tar.gz |
Release files / cmsplugin-accordion-0.2.2.tar.gz
| Download URL | cmsplugin-accordion-0.2.2.tar.gz |
|---|---|
| Size | 10.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ebf2af50d84676c23dc748fba180b9281eba68f48eef2425f9b07d2cf82826f1
|
|
BLAKE2b-256 checksum How to use checksums |
d1420b5b92557a4e30b5a2035070c6f5a551198de43f07c93116695cb6b64dd3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for cmsplugin-accordion 0.2.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.