Revert "events: ignore silk SQLQuery object"
This reverts commit a26f25ccd6
.
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
parent
cbd95848e7
commit
b7979ad48e
|
@ -25,12 +25,10 @@ IGNORED_MODELS = [
|
|||
AuthenticatedSession,
|
||||
StaticToken,
|
||||
]
|
||||
try:
|
||||
if settings.DEBUG:
|
||||
from silk.models import Request, Response, SQLQuery
|
||||
|
||||
IGNORED_MODELS += [Request, Response, SQLQuery]
|
||||
except ImportError:
|
||||
pass
|
||||
IGNORED_MODELS = tuple(IGNORED_MODELS)
|
||||
|
||||
|
||||
|
|
Reference in New Issue