Skip to content
This repository
branch: master
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 9 lines (8 sloc) 0.308 kb
1 2 3 4 5 6 7 8 9
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))
Something went wrong with that request. Please try again.