Installation
$ [sudo] pip install django-http-cache-control-view
views.py
from django_http_cache_control_view.views import HttpCacheControlMixin
class MyView(HttpCacheControlMixin,...):
http_cache_control_max_age = 60
class MyView(HttpCacheControlMixin,...):
def get_http_cache_control_max_age(self):
return 60
Metadata
Release files for django-http-cache-control-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 | Provenance | Actions |
|---|---|---|---|---|
| django-http-cache-control-view-2020.7.1.tar.gz | 1.5 kB | Without provenance | Details for django-http-cache-control-view-2020.7.1.tar.gz |
Release files / django-http-cache-control-view-2020.7.1.tar.gz
| Download URL | django-http-cache-control-view-2020.7.1.tar.gz |
|---|---|
| Size | 1.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
dcf5daab486bba3088851d07b1a001a0c8667d8ae4a9caf8b4ff26eeede54ba5
|
|
BLAKE2b-256 checksum How to use checksums |
97713bcd448ed81bb5c219f7fd25f7bb399c5335dcbd58fc83b6dc4740f57358
|
| 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
|
Security for django-http-cache-control-view 2020.7.1
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.