HTMX Repackaged for Django
Project description
HTMX Repackaged for Django
HTMX packaged in a Django reusable app.
Installation
pip install django-js-lib-htmx
Usage
-
Add
"js_lib_htmx"
to yourINSTALLED_APPS
setting like this::INSTALLED_APPS = [ ... "js_lib_htmx", ... ]
-
In your template use:
{% load static %}
And one of:
<script src="{% static "htmx/htmx.js" %}"></script> <script src="{% static "htmx/htmx.min.js" %}"></script>
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
Built Distribution
File details
Details for the file django_js_lib_htmx-2.0.3.0.tar.gz
.
File metadata
- Download URL: django_js_lib_htmx-2.0.3.0.tar.gz
- Upload date:
- Size: 1.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.32.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c17da6eaa738dcc95555ae8278b20f8b7e11c6e55a047ff0a51924d877f5f42a |
|
MD5 | a8924892852ef58bc5bba2a2dd333e9b |
|
BLAKE2b-256 | 7fae99d9ab8d56f40e825fba2d90a6e7d127b92bb39fde6a51f1a461517c8e1f |
File details
Details for the file django_js_lib_htmx-2.0.3.0-py2.py3-none-any.whl
.
File metadata
- Download URL: django_js_lib_htmx-2.0.3.0-py2.py3-none-any.whl
- Upload date:
- Size: 2.3 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.32.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b92aa730ec9a116cfa2142d2f77f59f09abfc0f37f3e39409d2dfb46f981a46a |
|
MD5 | a5bc393d94a5012b58ea3344bd3391f0 |
|
BLAKE2b-256 | 3c87bc39cd5bf6d29e35122459d896e4b68851af95b646cd85f9db596e240b6f |