Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Modify Django middleware settings to add a custom middleware
# Application definition
# Add the new middleware just after the default AuthenticationMiddleware that manages sessions and cookies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.