bb21defad12ee0ab0654d87b0654d484f46050bf,example/urls.py,,,#,5
Before Change
admin.autodiscover()
urlpatterns = patterns("", // noqa
(r"^$", TemplateView.as_view(template_name="index.html")),
(r"^jquery/$", TemplateView.as_view(template_name="jquery/index.html")),
(r"^mootools/$", TemplateView.as_view(template_name="mootools/index.html")),
(r"^prototype/$", TemplateView.as_view(template_name="prototype/index.html")),
(r"^admin/", include(admin.site.urls)),
)
After Change
from django.views.generic import TemplateView
urlpatterns = [
url(r"^$", TemplateView.as_view(template_name="index.html")),
url(r"^jquery/$", TemplateView.as_view(template_name="jquery/index.html")),
url(r"^mootools/$", TemplateView.as_view(template_name="mootools/index.html")),
url(r"^prototype/$", TemplateView.as_view(template_name="prototype/index.html")),
url(r"^admin/", include(admin.site.urls)),
]
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 10
Instances
Project Name: jazzband/django-debug-toolbar
Commit Name: bb21defad12ee0ab0654d87b0654d484f46050bf
Time: 2015-10-06
Author: aymeric.augustin@m4x.org
File Name: example/urls.py
Class Name:
Method Name:
Project Name: comic/grand-challenge.org
Commit Name: 5ef137413f3152a06428248d2cdda14be77de75a
Time: 2017-11-02
Author: jamesmeakin@gmail.com
File Name: app/filetransfers/urls.py
Class Name:
Method Name:
Project Name: samuelclay/NewsBlur
Commit Name: 0f9d839a49fe19d4050a546f5cf1715c05ee872b
Time: 2020-06-11
Author: jonathanamath@gmail.com
File Name: apps/analyzer/urls.py
Class Name:
Method Name: