/dj-admin-changelist-charts

Allows to display simple charts on changelist page in Django admin

Primary LanguagePythonMIT LicenseMIT

Django Admin Changelist Charts

https://travis-ci.org/mihasK/dj-admin-changelist-charts.svg?branch=master

Allows to create simple aggregate charts on changelist page. E.g. piechart or barcharts by product category for products list

Documentation

The full documentation is at https://dj-admin-changelist-charts.readthedocs.io.

Quickstart

Install Django Admin Changelist Charts:

pip install dj-admin-changelist-charts

Add it to your INSTALLED_APPS before `django.contrib.admin`:

INSTALLED_APPS = (
    ...
    'dj_admin_changelist_charts.apps.DjAdminChangelistChartsConfig',
    ...
    'django.contrib.admin',
    ...

)

Add Django Admin Changelist Charts's URL patterns:

from dj_admin_changelist_charts import urls as dj_admin_changelist_charts_urls


urlpatterns = [
    ...
    url(r'^', include(dj_admin_changelist_charts_urls)),
    ...
]

Features

  • TODO

Running Tests

Does the code actually work?

source <YOURVIRTUALENV>/bin/activate
(myenv) $ pip install tox
(myenv) $ tox

Development commands

pip install -r requirements_dev.txt
invoke -l

Credits

Tools used in rendering this package: