mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-04-13 09:42:01 +00:00
9 lines
No EOL
308 B
Python
9 lines
No EOL
308 B
Python
from django.conf import settings
|
|
from utils import log as logging
|
|
|
|
class DumpRequestMiddleware:
|
|
def process_request(self, request):
|
|
if settings.DEBUG:
|
|
request_items = request.REQUEST.items()
|
|
if request_items:
|
|
logging.debug("~BC~FK%s" % dict(request_items)) |