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

django-request-vars

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

django-request-vars

Stores current request, user and your defined data in thread local variable.

  • 1.0.1
  • PyPI
  • Socket score

Maintainers
1

Django request vars

.. image:: https://travis-ci.org/kindlycat/django-request-vars.svg?branch=master :target: https://travis-ci.org/kindlycat/django-request-vars .. image:: https://coveralls.io/repos/github/kindlycat/django-request-vars/badge.svg?branch=master :target: https://coveralls.io/github/kindlycat/django-request-vars?branch=master .. image:: https://readthedocs.org/projects/django-request-vars/badge/?version=latest :target: http://django-request-vars.readthedocs.io/en/latest/?badge=latest .. image:: https://img.shields.io/pypi/v/django-request-vars.svg :target: https://pypi.org/project/django-request-vars/ .. image:: https://img.shields.io/pypi/pyversions/django-request-vars.svg :target: https://pypi.org/project/django-request-vars .. image:: https://img.shields.io/badge/django-%3E%3D1.11-green.svg :target: https://pypi.org/project/django-request-vars .. image:: https://img.shields.io/gitter/room/nwjs/nw.js.svg :target: https://gitter.im/django-request-vars/Lobby

Application that stores current request, user and your defined data in thread local variable.

Full documentation on read the docs_.

Installation

Install using pip:

.. code-block:: sh

$ pip install django-request-vars

Add to installed apps:

.. code-block:: python

INSTALLED_APPS = (
    ...
    'request_vars',
    ...
)

Add middleware:

.. code-block:: python

MIDDLEWARE = [
    ...
    'request_vars.middleware.RequestVarsMiddleware',
    ...
]

.. _read the docs: https://django-request-vars.readthedocs.io/en/master/

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