Socket
Book a DemoInstallSign in
Socket

cmsplugin-accordion

Package Overview
Dependencies
Maintainers
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cmsplugin-accordion

django-cms plugin that allow to create accordions on the frontend.

0.2.2
pipPyPI
Maintainers
3

CMSPlugin Accordion

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

  • Create a new Accordion instance via the Django admin.
  • Create a few AccordionRow instances via the Django admin that belong to the Accordion instance you created before.
  • Go to one of your CMS pages and add the Accordion Plugin
  • 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

Keywords

django

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.