<commit_before>from django.conf.urls import patterns, url


urlpatterns = patterns(
    'wagtail.wagtailredirects.views',
    url(r'^$', 'index', name='wagtailredirects_index'),
    url(r'^(\d+)/$', 'edit', name='wagtailredirects_edit_redirect'),
    url(r'^(\d+)/delete/$', 'delete', name='wagtailredirects_delete_redirect'),
    url(r'^add/$', 'add', name='wagtailredirects_add_redirect'),
)<commit_msg>Eliminate 'patterns' from wagtailredirects/urls.py as per https://code.djangoproject.com/ticket/22218<commit_after>from django.conf.urls import url
from wagtail.wagtailredirects import views


urlpatterns = [
    url(r'^$', views.index, name='wagtailredirects_index'),
    url(r'^(\d+)/$', views.edit, name='wagtailredirects_edit_redirect'),
    url(r'^(\d+)/delete/$', views.delete, name='wagtailredirects_delete_redirect'),
    url(r'^add/$', views.add, name='wagtailredirects_add_redirect'),
]
{'fraction_non_alphanumeric': 0.18423973362930077, 'fraction_numerical': 0.005549389567147614, 'mean_word_length': 6.39344262295082, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 1, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6518632', 'n_tokens_mistral': 335, 'n_tokens_neox': 320, 'n_words': 47}