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-1.9.10.0.tar.gz (83.2 kB view hashes)

Uploaded Source

Built Distribution

django_js_lib_htmx-1.9.10.0-py2.py3-none-any.whl (92.5 kB view hashes)

Uploaded Python 2 Python 3

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