django_chart_js-0.0.3
توضیحات
Django Chart.js wrapper
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | django_chart_js-0.0.3 |
| نام | django_chart_js |
| نسخه کتابخانه | 0.0.3 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | deliro |
| ایمیل نویسنده | t4k.kitaetz@gmail.com |
| آدرس صفحه اصلی | - |
| آدرس اینترنتی | https://pypi.org/project/django_chart_js/ |
| مجوز | Apache 2.0 |
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`_
.. _Apache License Version 2.0: https://www.apache.org/licenses/LICENSE-2.0.txt
نحوه نصب
نصب پکیج whl django_chart_js-0.0.3:
pip install django_chart_js-0.0.3.whl
نصب پکیج tar.gz django_chart_js-0.0.3:
pip install django_chart_js-0.0.3.tar.gz