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

from studentvoice import views

urlpatterns = patterns('',
    url(r'^$', views.home, name='home'),
    url(r'^create/$', views.create, name='create'),
    url(r'^search/', views.search, name='search'),
    url(r'^(?P<voice_id>\d+)/$', views.show, name='show'),
    url(r'^/vote/$', views.vote, name='vote'),
    url(r'^(?P<voice_id>\d+)/report/$', views.report, name='report'),
    url(r'^(?P<voice_id>\d+)/create_comment/$', views.create_comment, name='create_comment'),
    url(r'^delete/(?P<voice_id>\d+)/$', views.delete, name='delete'),
    url(r'^(?P<voice_id>\d+)/edit/$', views.edit, name='edit'),
)<commit_msg>Fix studentvoice urls.<commit_after>from django.conf.urls import patterns, url
from django.views.generic import TemplateView

from studentvoice import views

urlpatterns = patterns('',
    url(r'^$', views.home, name='home'),
    url(r'^create/$', views.create, name='create'),
    url(r'^search/', views.search, name='search'),
    url(r'^(?P<voice_id>\d+)/$', views.show, name='show'),
    url(r'^vote/$', views.vote, name='vote'),
    url(r'^(?P<voice_id>\d+)/report/$', views.report, name='report'),
    url(r'^(?P<voice_id>\d+)/create_comment/$', views.create_comment, name='create_comment'),
    url(r'^delete/(?P<voice_id>\d+)/$', views.delete, name='delete'),
    url(r'^(?P<voice_id>\d+)/edit/$', views.edit, name='edit'),
)
{'fraction_non_alphanumeric': 0.24417009602194786, 'fraction_numerical': 0.0, 'mean_word_length': 5.427312775330397, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 13, 'https://': 0, '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': '618775', 'n_tokens_mistral': 540, 'n_tokens_neox': 520, 'n_words': 86}