Log sign submissions

This commit is contained in:
Tanner Collin 2021-12-03 06:38:14 +00:00
parent 94b030523f
commit db3e1290e4

View File

@ -13,7 +13,14 @@ class LoggingThrottle(throttling.BaseThrottle):
method = request._request.method
path = request._request.path
if path.startswith('/stats/') or path.startswith('/lockout/'):
if method == 'OPTIONS':
return True
if path.startswith('/lockout/'):
return True
elif path == '/stats/sign/':
pass
elif path.startswith('/stats/'):
return True
if request.data: