django-cms plugin that allow to create accordions on the frontend.
To get the latest stable release from PyPi
pip install cmsplugin-accordion
To get the latest commit from GitHub
pip install -e git+git://github.com/bitmazk/cmsplugin-accordion.git#egg=cmsplugin_accordion
TODO: Describe further installation steps (edit / remove the examples below):
cmsplugin_accordion to your
INSTALLED_APPS = ( ..., 'cmsplugin_accordion', )
Don't forget to migrate your database
./manage.py migrate cmsplugin_accordion
- Create a new
Accordioninstance via the Django admin.
- Create a few
AccordionRowinstances via the Django admin that belong to the Accordion instance you created before.
- Go to one of your CMS pages and add the
- Edit the
cmsplugin_accordion/accordion_plugin.htmltemplate to your liking.
That's it. You should now be able to embed accordions into your placeholders.
If you want to contribute to this project, please perform the following steps
# 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