Django Chart.js wrapper
Project description
django_chart_js
Django Chart.js is django application that allows use Chart.js lib in django templates easy.
Usage
In settings.py:
Add django_chart_js in your INSTALLED_APPS
In your view:
data = [x**2 for x in range(30)]
return render(request, 'some_template.html', {'data': data})
In your template:
{% load chart_js_tags %}
{% chartjs 500x300 data line %}
Installation
Download ZIP
cd django_chart_js
python setup.py install
Requirements
django >= 1.6
Licence
Licenced under a Apache License Version 2.0
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
django_chart_js-0.0.3.zip
(6.4 kB
view hashes)
Close
Hashes for django_chart_js-0.0.3.win-amd64.zip
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3c3b2bb9f72b0d79712bd90fa95ee3c7033fb7cfcbed92d77f9de6e9cdb215fe |
|
MD5 | 4d1ced54caa126358b606909a5e2eb69 |
|
BLAKE2b-256 | 0ea66d11ead18c39d34deb9ca4f02a0ac8d034af1a7e414ee9c288f8714acbb9 |