Skip to main content

Include nvd3 charts into django-cms driven sites

Project description

Requirements

The plugin works as expected under Python 2.7 and Python 3.4. The following libraries (along with those required by django-cms) are necessary:

  • Django >= 1.5

  • django-cms >= 2.4 (include all of Django CMS 3.x releases)

  • python-nvd3

Installation

It is assumed that django-cms already installed. Additionally, you need install python-nvd3 module.

$ pip install python-nvd3
$ pip install cmsplugin-nvd3

Insert the plugin app in your settings.py

INSTALLED_APPS = [
    # ...
    'cmsplugin_nvd3',
        #...
]

Create your database (If you working with django 1.7 and higher)

manage.py makemigrations cmsplugin_nvd3

manage.py migrate cmsplugin_nvd3

If your Django version is lower 1.7, use syncdb command

manage.py syncdb

The plugin can be used in a single manner or embedded into text plugins.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cmsplugin-nvd3-0.3.tar.gz (106.8 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page