924361de6c1c87a5dd4db0e37b94380246d85790,debug_toolbar/panels/version.py,VersionDebugPanel,content,#VersionDebugPanel#,20

Before Change


        return ""

    def content(self):
        return ""

After Change


        return "Versions"

    def content(self):
        versions = {
            "Django": django.get_version(),
            "Django Debug Toolbar": debug_toolbar.__version__,
        }
        return render_to_string("debug_toolbar/panels/versions.html", {
            "versions": versions,
            "paths": sys.path,
        })
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 6

Instances


Project Name: jazzband/django-debug-toolbar
Commit Name: 924361de6c1c87a5dd4db0e37b94380246d85790
Time: 2009-09-18
Author: alex.gaynor@gmail.com
File Name: debug_toolbar/panels/version.py
Class Name: VersionDebugPanel
Method Name: content


Project Name: jazzband/django-debug-toolbar
Commit Name: 4c75e9fdb86f550fd1b6b7554b3ac51d72e2ca81
Time: 2009-11-02
Author: alex.gaynor@gmail.com
File Name: debug_toolbar/panels/version.py
Class Name: VersionDebugPanel
Method Name: content


Project Name: jazzband/django-debug-toolbar
Commit Name: e403821323d529980407c05da77409c7e1c5c2a0
Time: 2008-09-08
Author: rob@cogit8.org
File Name: debug_toolbar/panels/headers.py
Class Name: HeaderDebugPanel
Method Name: content