Skip to main content

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

  1. Add "js_lib_htmx" to your INSTALLED_APPS setting like this::

    INSTALLED_APPS = [
        ...
        "js_lib_htmx",
        ...
    ]
    
  2. 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

django_js_lib_htmx-2.0.3.0.tar.gz (1.9 kB view details)

Uploaded Source

Built Distribution

django_js_lib_htmx-2.0.3.0-py2.py3-none-any.whl (2.3 kB view details)

Uploaded Python 2 Python 3

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

Hashes for django_js_lib_htmx-2.0.3.0.tar.gz
Algorithm Hash digest
SHA256 c17da6eaa738dcc95555ae8278b20f8b7e11c6e55a047ff0a51924d877f5f42a
MD5 a8924892852ef58bc5bba2a2dd333e9b
BLAKE2b-256 7fae99d9ab8d56f40e825fba2d90a6e7d127b92bb39fde6a51f1a461517c8e1f

See more details on using hashes here.

File details

Details for the file django_js_lib_htmx-2.0.3.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for django_js_lib_htmx-2.0.3.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 b92aa730ec9a116cfa2142d2f77f59f09abfc0f37f3e39409d2dfb46f981a46a
MD5 a5bc393d94a5012b58ea3344bd3391f0
BLAKE2b-256 3c87bc39cd5bf6d29e35122459d896e4b68851af95b646cd85f9db596e240b6f

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