fix signal send

pull/106/head^2
黄成维 2016-02-29 16:06:20 +08:00
parent 054edeefb6
commit 8c552ccc45
1 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@ define("host", default='0.0.0.0', help="run port on given host", type=str)
def django_request_support(func):
@functools.wraps(func)
def _deco(*args, **kwargs):
request_started.send_robust()
request_started.send_robust(func)
response = func(*args, **kwargs)
request_finished.send_robust()
return response