Metadata-Version: 2.1
Name: django-turbo-response
Version: 0.0.18
Summary: Hotwired/Turbo response helpers for Django
Home-page: https://github.com/hotwire-django/django-turbo-response
Author: Dan Jacob
Author-email: danjac2018@gmail.com
License: MIT
Description: This package provides helpers for server-side rendering of [Hotwired/Turbo](https://turbo.hotwire.dev/) 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:
        
        > git clone https://github.com/hotwire-django/django-turbo-response
        
        > 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/
        
        ## License
        
        This project is covered by the MIT license.
        
        
        # Changelog
        
        ## [0.0.18] - 2021-1-12
        
        **TurboStreamDeleteView** automatically resolves target based on model name+PK.
        
        ## [0.0.17] - 2021-1-7
        
        Added **HttpResponseSeeOther** class and **redirect_303** shortcut function.
        
        ## [0.0.16] - 2021-1-7
        
        Ensure all form mixins/views return a 303 on redirect as per Turbo docs.
        
        ## [0.0.15] - 2021-1-7
        
        Removed protocol classes and mypy pre-commit requirement
        
        ## [0.0.14] - 2021-1-6
        
        Dependency bugfix
        
        ## [0.0.13] - 2021-1-6
        
        Added type hinting, tidy up of mixin class inheritance.
        
        ## [0.0.12] - 2021-1-5
        
        Update form handling for changes in @hotwired/turbo 7.0.0-beta.2:
        
          - **TurboStreamFormMixin** class and supporting classes removed
          - **TurboFormMixin** class added that just returns a 422 response on invalid
          - **TurboStreamFormView**, **TurboStreamCreateView** and **TurboStreamUpdateView** classes removed
          - **TurboFormView**, **TurboCreateView** and **TurboUpdateView** classes added, using new **TurboFormMixin**
        
        ## [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
        
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Framework :: Django
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires: django (>=3.1)
Requires-Python: >=3.8
Description-Content-Type: text/markdown
