Name: django-current-request
Owner: Futurice
Description: null
Created: 2016-03-08 20:48:32.0
Updated: 2018-03-11 13:14:55.0
Pushed: 2016-08-02 12:35:22.0
Homepage: null
Size: 3
Language: Python
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
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.