Skip to main content

Django application contain jquery3 static files.

Project description

Django application contain jquery static files

Install

pip install django-static-jquery3

Settings

INSTALLED_APPS = [
    ...
    "django_static_jquery3",
    ...
]

Use static resource

{% load staticfiles %}

{% block script %}
    <script src="{% static "jquery3/jquery.js" %}"></script>
    <script src="{% static "jquery3/jquery.min.js" %}"></script>
    <script src="{% static "jquery3/jquery.min.map" %}"></script>
    <script src="{% static "jquery3/jquery.slim.js" %}"></script>
    <script src="{% static "jquery3/jquery.slim.min.js" %}"></script>
    <script src="{% static "jquery3/jquery.slim.min.map" %}"></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-jquery3-3.3.1.1.tar.gz (295.8 kB view hashes)

Uploaded Source

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