Installation
$ [sudo] pip install django-http-last-modified-view
views.py
get_http_last_modified
from django_http_last_modified_view.views import HttpLastModifiedMixin
class MyView(HttpLastModifiedMixin,...):
def get_http_last_modified(self):
return self.obj.http_last_modified
dispatch, self.http_last_modified:
class MyView(HttpLastModifiedMixin,...):
def dispatch(self, *args, **kwargs):
self.http_last_modified = obj.last_modified_at
return super().dispatch(*args, **kwargs)
Metadata
Release files for django-http-last-modified-view 2020.10.29
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| django-http-last-modified-view-2020.10.29.tar.gz | 1.6 kB | Without provenance | Details for django-http-last-modified-view-2020.10.29.tar.gz |
Release files / django-http-last-modified-view-2020.10.29.tar.gz
| Download URL | django-http-last-modified-view-2020.10.29.tar.gz |
|---|---|
| Size | 1.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3f72d9ba823a77bb1be30f1f59c4598e8fe2e7236869ba7b64572cd3e4d42693
|
|
BLAKE2b-256 checksum How to use checksums |
ca284176b5403e9291197b4e9667ffc25d0f7d7f10f0911f2f926da0b9ab7f9c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.6.0 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.6
|
Security for django-http-last-modified-view 2020.10.29
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.