Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

django-http-last-modified-view

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

django-http-last-modified-view

Django http Last-Modified header view mixin

  • 2020.10.29
  • PyPI
  • Socket score

Maintainers
1

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

Keywords

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc