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 details)
File details
Details for the file django_chart_js-0.0.3.zip.
File metadata
- Download URL: django_chart_js-0.0.3.zip
- Upload date:
- Size: 6.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2ee0bf1a53395c8ff3f7a788bf3ba0384a5bf8590d6a6d1b7766cae7af7647f7
|
|
| MD5 |
83a0527af9d09671cca45e6c13c2e448
|
|
| BLAKE2b-256 |
08ca5af3ed002ba82a17875aa4a20154b6c8d87185961b3438b80de3c9ff946b
|
File details
Details for the file django_chart_js-0.0.3.win-amd64.zip.
File metadata
- Download URL: django_chart_js-0.0.3.win-amd64.zip
- Upload date:
- Size: 8.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3c3b2bb9f72b0d79712bd90fa95ee3c7033fb7cfcbed92d77f9de6e9cdb215fe
|
|
| MD5 |
4d1ced54caa126358b606909a5e2eb69
|
|
| BLAKE2b-256 |
0ea66d11ead18c39d34deb9ca4f02a0ac8d034af1a7e414ee9c288f8714acbb9
|