<commit_before># -*- coding: utf-8 -*-
from __future__ import unicode_literals

# Third Party Stuff
from django.conf.urls import patterns, url

from . import views

urlpatterns = patterns(
    '',

    url(r'^$', views.list_proposals, name='proposals-list'),
    url(r'^create/$', views.create_proposal, name='proposal-create'),
    url(r'^(?P<slug>[\w-]+)/update$',
        views.update_proposal, name='proposal-update'),
    url(r'^(?P<slug>[\w-]+)/$', views.detail_proposal, name='proposal-detail'),
    url(r'^(?P<slug>[\w-]+)/delete/$',
        views.delete_proposal, name='proposal-delete'),

    # Voting
    url(r'^(?P<proposal_slug>[\w-]+)/up-vote/$',
        views.proposal_vote_up, name='proposal-vote-up'),
    url(r'^(?P<proposal_slug>[\w-]+)/down-vote/$',
        views.proposal_vote_down, name='proposal-vote-down'),
)
<commit_msg>fixed missing slash at the end of url<commit_after># -*- coding: utf-8 -*-
from __future__ import unicode_literals

# Third Party Stuff
from django.conf.urls import patterns, url

from . import views

urlpatterns = patterns(
    '',

    url(r'^$', views.list_proposals, name='proposals-list'),
    url(r'^create/$', views.create_proposal, name='proposal-create'),
    url(r'^(?P<slug>[\w-]+)/update/$',
        views.update_proposal, name='proposal-update'),
    url(r'^(?P<slug>[\w-]+)/$', views.detail_proposal, name='proposal-detail'),
    url(r'^(?P<slug>[\w-]+)/delete/$',
        views.delete_proposal, name='proposal-delete'),

    # Voting
    url(r'^(?P<proposal_slug>[\w-]+)/up-vote/$',
        views.proposal_vote_up, name='proposal-vote-up'),
    url(r'^(?P<proposal_slug>[\w-]+)/down-vote/$',
        views.proposal_vote_down, name='proposal-vote-down'),
)

{'fraction_non_alphanumeric': 0.2160745486313337, 'fraction_numerical': 0.0011648223645894002, 'mean_word_length': 3.979710144927536, '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': '652165', 'n_tokens_mistral': 651, 'n_tokens_neox': 643, 'n_words': 91}