Django application contain echarts static files.
Project description
Django application contain echarts static files
Install
pip install django-static-echarts
Settings
INSTALLED_APPS = [ ... "django_static_echarts", ... ]
Use static resource
{% load staticfiles %} {% block script %} <script src="{% static "echarts/echarts.min.js" %}"></script> <script src="{% static "echarts/theme/vintage.js" %}"></script> <script src="{% static "echarts/map/js/china.js" %}"></script> {% endblock %}
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
File details
Details for the file django-static-echarts-4.0.4.1.tar.gz
.
File metadata
- Download URL: django-static-echarts-4.0.4.1.tar.gz
- Upload date:
- Size: 7.9 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1c334dbf180e6f98e08040802ba661ee1f6a9ac70726d3b77e8021239812cf45 |
|
MD5 | 110887cbe3c56271148e0f27a571e16b |
|
BLAKE2b-256 | 63676544061fd46f897a65b247e6ddc031a9f9b51c9bc7c275a8b9a961de257b |