Skip to main content

An app to explore your data through charts based on Highcharts.js

Project description


.. image::

.. image::

.. image::

An app to explore your data through charts based on Highcharts.js


The full documentation is at


Install django_charts::

pip install acdh-django-charts

Add it to your `INSTALLED_APPS`:

.. code-block:: python


Add django_charts's URL patterns:

.. code-block:: python

urlpatterns = [
url(r'^charts/', include('charts.urls', namespace='charts')),

By default the app's templates extend a base template `webpage/base.html`. To ovveride this, just define a `CHARTS_BASE_TEMPLATE` variable on your project's `` like e.g:

.. code-block:: python


To link to the application's 'chart-selector-view' you can add something like the snippet below to your e.g. base-template:

.. code-block:: html

<a href="{% url 'charts:chart_selector' %}">Charts</a>



Build and publish

.. code-block:: console

python sdist bdist_wheel
twine upload dist/*



Running Tests

Does the code actually work?


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


Tools used in rendering this package:

* Cookiecutter_
* `cookiecutter-djangopackage`_

.. _Cookiecutter:
.. _`cookiecutter-djangopackage`:


0.2.0 (2018-06-01)

* Base templates can now be configured in settings-param

0.1.0 (2018-06-01)

* First release on PyPI.

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

acdh-django-charts-0.2.0.tar.gz (10.4 kB view hashes)

Uploaded Source

Built Distribution

acdh_django_charts-0.2.0-py2.py3-none-any.whl (10.6 kB view hashes)

Uploaded Python 2 Python 3

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