Installation
$ [sudo] pip install django-http-etag-view
Examples
get_http_etag
from django_http_etag_view.views import HttpEtagMixin
class MyView(HttpEtagMixin,...):
def get_http_etag(self):
return 'XXX'
dispatch, self.http_etag:
class MyView(HttpEtagMixin,...):
def dispatch(self, *args, **kwargs):
self.http_etag = 'XXX'
return super().dispatch(*args, **kwargs)
Metadata
Release files for django-http-etag-view 2020.7.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| django-http-etag-view-2020.7.1.tar.gz | 1.5 kB | Details |
Release files / django-http-etag-view-2020.7.1.tar.gz
| Download URL | django-http-etag-view-2020.7.1.tar.gz |
|---|---|
| Size | 1.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5a93ac427340928eb08386598e05ba456e05bfa97f015bcc414349bc049bcfe8
|
|
BLAKE2b-256 checksum How to use checksums |
ad7989ab6d696afd25838217b9ace83bc4f6ef3a29309b1e065daa878bc434c4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.24.0 setuptools/49.2.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.7
|