Metadata-Version: 2.1
Name: django-http-etag-view
Version: 2020.7.1
Summary: Django http Etag header view mixin
Home-page: https://github.com/andrewp-as-is/django-http-etag-view.py
License: Unlicense
Description: <!--
        https://readme42.com
        -->
        
        
        [![](https://img.shields.io/pypi/v/django-http-etag-view.svg?maxAge=3600)](https://pypi.org/project/django-http-etag-view/)
        [![](https://img.shields.io/badge/License-Unlicense-blue.svg?longCache=True)](https://unlicense.org/)
        
        ### Installation
        ```bash
        $ [sudo] pip install django-http-etag-view
        ```
        
        #### Examples
        `get_http_etag`
        ```python
        from django_http_etag_view.views import HttpEtagMixin
        
        class MyView(HttpEtagMixin,...):
        
            def get_http_etag(self):
                return 'XXX'
        ```
        
        `dispatch`, `self.http_etag`:
        ```python
        class MyView(HttpEtagMixin,...):
            def dispatch(self, *args, **kwargs):
                self.http_etag = 'XXX'
                return super().dispatch(*args, **kwargs)
        ```
        
        <p align="center">
            <a href="https://readme42.com/">readme42.com</a>
        </p>
Keywords: django Etag header view
Platform: UNKNOWN
Classifier: Framework :: Django
Classifier: License :: Public Domain
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Description-Content-Type: text/markdown
