mirror of https://github.com/jumpserver/jumpserver
fix signal send
parent
8c552ccc45
commit
e886b55727
|
@ -43,7 +43,7 @@ def django_request_support(func):
|
||||||
def _deco(*args, **kwargs):
|
def _deco(*args, **kwargs):
|
||||||
request_started.send_robust(func)
|
request_started.send_robust(func)
|
||||||
response = func(*args, **kwargs)
|
response = func(*args, **kwargs)
|
||||||
request_finished.send_robust()
|
request_finished.send_robust(func)
|
||||||
return response
|
return response
|
||||||
return _deco
|
return _deco
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue