Hotwired/Turbo response helpers for Django
Project description
This package provides helpers for server-side rendering of Hotwired/Turbo streams and frames.
Disclaimer: the Hotwired/Turbo client libraries are, at time of writing, still in Beta. We expect there will be breaking changes until the first stable release. This package, and the Turbo client, should therefore be used with caution in a production environment. The version used in testing is @hotwired/turbo==7.0.0-beta.1.
Requirements
This library is tested for Python 3.8+.
Installation
pip install django-turbo-response
To install from Git:
cd django-turbo-response
python setup.py install
Note: This library does not include any client libraries (Turbo or Stimulus). You may wish to add these yourself using your preferred Javascript build tool, or use a CDN. Please refer to the Hotwire documentation on installing these libraries.
Full documentation on ReadTheDocs:
https://django-turbo-response.readthedocs.io/en/latest/
Changelog
[0.0.10] - 2020-12-30
Remove str methods from TurboStream and TurboFrame classes
[0.0.9] - 2020-12-30
Add render() method to template proxies
[0.0.8] - 2020-12-30
Added
TurboStream and TurboFrame classes
Project details
Release history Release notifications | RSS feed
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
Hashes for django-turbo-response-0.0.10.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8ee9119fc6e34c13bd430ee7f198699e7a325ea7a334be3ed57bb7fc30101399 |
|
MD5 | 6b3c02032d1d8324a00a60533e3c1d6c |
|
BLAKE2b-256 | 7b7fe8abdae65254ddfc1992ad59467cecbfdd4f52c677c7475f7c4672b71efb |
Hashes for django_turbo_response-0.0.10-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 18dd494f2616dee80a3e7663538719be8360622c038a6b2cd936ebc36b840b28 |
|
MD5 | dc87b7b5572db923763caac4245c68f3 |
|
BLAKE2b-256 | 4cf30f8da5b41e2354d8cb838288603bb20acad1bd44a909fbf4ac7384072894 |