ui/django-cached_authentication_middleware — pull request #7 by SeiryuZ (2014-12-11 03:47:31+00:00)
Title: Added function set_cached_user

The use case is as follow:

We need to overwrite how the user is stored on the cache when the request is not finished yet.

Currently, this is not possible, we can only invalidate the cache on request, not set the cache