Django Current Request
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.
For that time when you need the request
Homepage Repository PyPI Python
pip install django-current-request==0.2
For that time you need the HttpRequest, you got it.
Add djangocurrentrequest.middleware.RequestMiddleware
to INSTALLED_APPS
.
Call get_current_request()
to obtain the current HttpRequest object.