c39853b54fae9ca2a36e56afd7484c346905c0ce,tests/urls.py,,,#,12

Before Change


from . import views
from .models import NonAsciiRepr

urlpatterns = [
    url(r"^resolving1/(.+)/(.+)/$", views.resolving_view, name="positional-resolving"),
    url(r"^resolving2/(?P<arg1>.+)/(?P<arg2>.+)/$", views.resolving_view),
    url(r"^resolving3/(.+)/$", views.resolving_view, {"arg2": "default"}),
    url(r"^regular/(?P<title>.*)/$", views.regular_view),
    url(r"^regular_jinja/(?P<title>.*)/$", views.regular_jinjia_view),
    url(r"^non_ascii_request/$", views.regular_view, {"title": NonAsciiRepr()}),
    url(r"^new_user/$", views.new_user),
    url(r"^execute_sql/$", views.execute_sql),
    url(r"^cached_view/$", views.cached_view),
    url(r"^__debug__/", include(debug_toolbar.urls)),
]

After Change


from . import views
from .models import NonAsciiRepr

urlpatterns = [
    url(r"^resolving1/(.+)/(.+)/$", views.resolving_view, name="positional-resolving"),
    url(r"^resolving2/(?P<arg1>.+)/(?P<arg2>.+)/$", views.resolving_view),
    url(r"^resolving3/(.+)/$", views.resolving_view, {"arg2": "default"}),
    url(r"^regular/(?P<title>.*)/$", views.regular_view),
    url(r"^template_response/(?P<title>.*)/$", views.template_response_view),
    url(r"^regular_jinja/(?P<title>.*)/$", views.regular_jinjia_view),
    url(r"^non_ascii_request/$", views.regular_view, {"title": NonAsciiRepr()}),
    url(r"^new_user/$", views.new_user),
    url(r"^execute_sql/$", views.execute_sql),
    url(r"^cached_view/$", views.cached_view),
    url(r"^redirect/$", views.redirect_view),
    url(r"^__debug__/", include(debug_toolbar.urls)),
]
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 17

Instances


Project Name: jazzband/django-debug-toolbar
Commit Name: c39853b54fae9ca2a36e56afd7484c346905c0ce
Time: 2017-11-15
Author: jon.dufresne@gmail.com
File Name: tests/urls.py
Class Name:
Method Name:


Project Name: comic/grand-challenge.org
Commit Name: f608dbd0e58b5ec84e1f5e769c2e30bbf34d9b4b
Time: 2018-05-30
Author: jamesmeakin@gmail.com
File Name: app/config/urls.py
Class Name:
Method Name:


Project Name: comic/grand-challenge.org
Commit Name: 6d097361b1d3e9c4ab03a77d590d6f6cd7d070c2
Time: 2018-06-13
Author: jamesmeakin@gmail.com
File Name: app/config/urls.py
Class Name:
Method Name: