Что эквивалентно хуку промежуточного программного обеспечения process_request для вызова метода в flask в Django?
def __init__(self,app):
# do the initialisation stuffs
def __call__(self,environ,start_response):
#how to call the process_request(request) method
# to prematurely end the middleware chain
Заранее спасибо !!