963ec339d932d3888f79dea12d3d3a89cbd1f141,debug_toolbar/panels/request_vars.py,RequestVarsDebugPanel,process_response,#RequestVarsDebugPanel#Any#Any#,38

Before Change


            else:
                name = "<no view>"

            self.record_stats({
                "view_func": name,
                "view_args": self.view_args,
                "view_kwargs": self.view_kwargs
            })

        if hasattr(self.request, "session"):
            self.record_stats({
                "session": [(k, self.request.session.get(k)) for k in self.request.session.iterkeys()]

After Change


            "post": [(k, self.request.POST.getlist(k)) for k in self.request.POST],
            "cookies": [(k, self.request.COOKIES.get(k)) for k in self.request.COOKIES],
        })
        view_info = {
             "view_func": _("<no view>"),
             "view_args": "None",
             "view_kwargs": "None",
             "view_urlname": "None",
         }
        try:
            match = resolve(self.request.path)
            func, args, kwargs = match
            view_info["view_func"] = get_name_from_obj(func)
            view_info["view_args"] = args
            view_info["view_kwargs"] = kwargs
            view_info["view_urlname"] = getattr(match, "url_name",
                                                _("<unavailable>"))
        except Http404:
            pass
        self.record_stats(view_info)

        if hasattr(self.request, "session"):
            self.record_stats({
                "session": [(k, self.request.session.get(k))
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: jazzband/django-debug-toolbar
Commit Name: 963ec339d932d3888f79dea12d3d3a89cbd1f141
Time: 2012-04-06
Author: jannis@leidel.info
File Name: debug_toolbar/panels/request_vars.py
Class Name: RequestVarsDebugPanel
Method Name: process_response


Project Name: jazzband/django-debug-toolbar
Commit Name: 9cb24492637aa8ef9e77f007016451d515f29d5d
Time: 2011-11-15
Author: albrecht.andi@gmail.com
File Name: debug_toolbar/panels/timer.py
Class Name: TimerDebugPanel
Method Name: process_response


Project Name: jazzband/django-debug-toolbar
Commit Name: 12fdf7ea605d3716d6c9127e22a63bcc345d55be
Time: 2012-04-06
Author: jannis@leidel.info
File Name: debug_toolbar/panels/cache.py
Class Name: CacheDebugPanel
Method Name: process_response