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.1.tar.gz (195.7 kB view details)

Uploaded Source

Built Distribution

django_js_lib_htmx-2.0.3.1-py2.py3-none-any.whl (211.9 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file django_js_lib_htmx-2.0.3.1.tar.gz.

File metadata

  • Download URL: django_js_lib_htmx-2.0.3.1.tar.gz
  • Upload date:
  • Size: 195.7 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.1.tar.gz
Algorithm Hash digest
SHA256 c374b21b0ae6ad0ccc409ddcaa171a73331416dde95ccb5cf80dd087d9bd0b5b
MD5 d236bda69f7cd4cbb86f0cdab43d9fa7
BLAKE2b-256 dbf9ac680b27d1af247567647b33411372cce1a92f61475ec98145e4543c47f7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for django_js_lib_htmx-2.0.3.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 438bb3c92842008e9deaa46b7d896dedd2a08babc7c4574f3223d207c7292ff0
MD5 f9fa7b02a70045db6c74764fd24c0aef
BLAKE2b-256 473a24c4879a356fc2e05bd0dd8368868e0d5f1ccf891ecac91f9824c09e4ca0

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