Skip to main content

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

django-static-echarts-4.0.4.1.tar.gz (7.9 MB view details)

Uploaded Source

File details

Details for the file django-static-echarts-4.0.4.1.tar.gz.

File metadata

File hashes

Hashes for django-static-echarts-4.0.4.1.tar.gz
Algorithm Hash digest
SHA256 1c334dbf180e6f98e08040802ba661ee1f6a9ac70726d3b77e8021239812cf45
MD5 110887cbe3c56271148e0f27a571e16b
BLAKE2b-256 63676544061fd46f897a65b247e6ddc031a9f9b51c9bc7c275a8b9a961de257b

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page