class MiddlewareMixin:
Known subclasses: django.contrib.auth.middleware.AuthenticationMiddleware
, django.contrib.auth.middleware.RemoteUserMiddleware
, django.contrib.flatpages.middleware.FlatpageFallbackMiddleware
, django.contrib.messages.middleware.MessageMiddleware
, django.contrib.redirects.middleware.RedirectFallbackMiddleware
, django.contrib.sessions.middleware.SessionMiddleware
, django.contrib.sites.middleware.CurrentSiteMiddleware
, django.middleware.cache.FetchFromCacheMiddleware
, django.middleware.cache.UpdateCacheMiddleware
, django.middleware.clickjacking.XFrameOptionsMiddleware
, django.middleware.common.BrokenLinkEmailsMiddleware
, django.middleware.common.CommonMiddleware
, django.middleware.csrf.CsrfViewMiddleware
, django.middleware.gzip.GZipMiddleware
, django.middleware.http.ConditionalGetMiddleware
, django.middleware.locale.LocaleMiddleware
, django.middleware.security.SecurityMiddleware
, django.contrib.admin.tests.CSPMiddleware
, django.contrib.admindocs.middleware.XViewMiddleware
Undocumented
Async Method | __acall__ |
Async version of __call__ that is swapped in when an async request is running. |
Method | __call__ |
Undocumented |
Method | __init__ |
Undocumented |
Method | __repr__ |
Undocumented |
Method | _async_check |
If get_response is a coroutine function, turns us into async mode so a thread is not consumed during a whole request. |
Class Variable | async_capable |
Undocumented |
Class Variable | sync_capable |
Undocumented |
Instance Variable | _is_coroutine |
Undocumented |
Instance Variable | get_response |
Undocumented |