ccbf178a3351106e25422b898f09cdca60a1c6e5,tests/views.py,,regular_view,#Any#Any#,15

Before Change



def regular_view(request, title):
    content = "<html><head><title>%s</title></head><body></body></html>" % title
    return HttpResponse(content)


def resolving_view(request, arg1, arg2):
    // see test_url_resolving in tests.py

After Change




def regular_view(request, title):
    return render(request, "basic.html", {"title": title})


def resolving_view(request, arg1, arg2):
    // see test_url_resolving in tests.py
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 5

Non-data size: 4

Instances


Project Name: jazzband/django-debug-toolbar
Commit Name: ccbf178a3351106e25422b898f09cdca60a1c6e5
Time: 2013-10-18
Author: aymeric.augustin@m4x.org
File Name: tests/views.py
Class Name:
Method Name: regular_view


Project Name: jazzband/django-debug-toolbar
Commit Name: ccbf178a3351106e25422b898f09cdca60a1c6e5
Time: 2013-10-18
Author: aymeric.augustin@m4x.org
File Name: tests/views.py
Class Name:
Method Name: set_session


Project Name: jazzband/django-debug-toolbar
Commit Name: 9ddf49d5751dad1ce13ba28cb1457574cdbc600f
Time: 2019-12-19
Author: schilling711@gmail.com
File Name: tests/views.py
Class Name:
Method Name: resolving_view


Project Name: jazzband/django-debug-toolbar
Commit Name: 9ddf49d5751dad1ce13ba28cb1457574cdbc600f
Time: 2019-12-19
Author: schilling711@gmail.com
File Name: tests/views.py
Class Name:
Method Name: execute_sql


Project Name: jazzband/django-debug-toolbar
Commit Name: 9ddf49d5751dad1ce13ba28cb1457574cdbc600f
Time: 2019-12-19
Author: schilling711@gmail.com
File Name: tests/views.py
Class Name:
Method Name: cached_view