evennia.web.utils.middleware¶
-
class
evennia.web.utils.middleware.
OriginIpMiddleware
(get_response)[source]¶ Bases:
object
This Django Middleware simply sets the request.origin_ip attribute to what is respected by the Evennia Server, taking into account settings.UPSTREAM_IPS.
Bases:
object
Handle the shared login between website and webclient.
Initialize self. See help(type(self)) for accurate signature.