Skip to content

Instantly share code, notes, and snippets.

@mgagne
Created November 1, 2018 01:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mgagne/185776102e73766571978ac295861baa to your computer and use it in GitHub Desktop.
Save mgagne/185776102e73766571978ac295861baa to your computer and use it in GitHub Desktop.
# openstack_auth/middleware.py
# Add as first middleware in MIDDLEWARE_CLASSES setting.
from openstack_auth import utils
utils.patch_middleware_get_user()
class OpenstackAuthMonkeyPatchMiddleware(object):
pass
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment