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: 4
Non-data size: 4
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: