Skip to main content

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)

readme42.com

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)

Source distribution for django-http-last-modified-view 2020.10.29
File Size Uploaded
django-http-last-modified-view-2020.10.29.tar.gz 1.6 kB Details

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

Release history Release notifications | RSS feed

This release

2020.10.29 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page