Documentation
The full documentation is at https://django-charts-dashboard.readthedocs.io/en/latest/
Quickstart
Install django-charts-dashboard:
pip install django-charts-dashboard or pipenv install django-charts-dashboard
Add it to your INSTALLED_APPS:
INSTALLED_APPS = (
...
'charts_dashboard',
...
)
PS: You need define jquery and chartjs libraries in your html section script
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.0/jquery.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.9.3/Chart.bundle.js"></script>
Running Tests
Does the code actually work?
source <YOURVIRTUALENV>/bin/activate (myenv) $ pip install tox (myenv) $ tox
Release files for django-charts-dashboard 0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| django-charts-dashboard-0.1.tar.gz | 13.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| django_charts_dashboard-0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 22.8 kB
Release files / django-charts-dashboard-0.1.tar.gz
| Download URL | django-charts-dashboard-0.1.tar.gz |
|---|---|
| Size | 13.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c4733035dedb29951789999429cef3020a0ae245cf6985ad43a85ef337bc9710
|
|
BLAKE2b-256 checksum How to use checksums |
90572312a730213d99d5913ab8afa8547cb033874dc1239bda0e2527c5984350
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.4.2 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.8.5
|
Release files / django_charts_dashboard-0.1-py3-none-any.whl
| Download URL | django_charts_dashboard-0.1-py3-none-any.whl |
|---|---|
| Size | 9.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
896edf931dbddf6a0074854e79673309e5faa921f2fc3c32e944e35892254cb6
|
|
BLAKE2b-256 checksum How to use checksums |
c324251af7a822b2e06edf9673aa021edb586cce0ff4243bc746a71ff0defaa1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.4.2 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.8.5
|