Simple class that stores security context information in the web request.
Projects should subclass this class if they wish to enhance the request context or provide additional information in their specific WSGI pipeline.
Bases: object
Helper class to represent useful information about a request context.
Stores information about the security context under which the user accesses the system, as well as additional request information.
Create an administrator context.
Find an arg of type RequestContext and return it.
This is useful in a couple of decorators where we don’t know much about the function we’re wrapping.
Return this thread’s current context
If no context is set, returns None
Indicates if the request context is a normal user.