django-current-request

For that time when you need the request


Keywords
django, current, request
License
BSD-3-Clause
Install
pip install django-current-request==0.2

Documentation

Django Current Request Build Status

For that time you need the HttpRequest, you got it.

Usage

Add djangocurrentrequest.middleware.RequestMiddleware to INSTALLED_APPS.

Call get_current_request() to obtain the current HttpRequest object.