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

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

from . import views

comment_urls = patterns(
    '',
    url(r'^(?P<proposal_slug>[\w-]+)/create/$',
        views.create_proposal_comment, name='proposal-comment-create'),
    url(r'^(?P<proposal_slug>[\w-]+)/comments/(?P<proposal_comment_id>\d+)/up-vote/$',
        views.proposal_comment_up_vote, name='proposal-comment-up-vote'),
    url(r'^(?P<proposal_slug>[\w-]+)/comments/(?P<proposal_comment_id>\d+)/down-vote/$',
        views.proposal_comment_down_vote, name='proposal-comment-down-vote'),
)

urlpatterns = patterns(
    '',
    # proposal urls
    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'),
    url(r'^(?P<slug>[\w-]+)/review/$',
        views.review_proposal, name='proposal-review'),
    # comment urls
    url(r'^comment/', include(comment_urls)),<commit_msg>Comment proposal selectin url<commit_after># -*- coding: utf-8 -*-
from __future__ import absolute_import, unicode_literals

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

from . import views

comment_urls = patterns(
    '',
    url(r'^(?P<proposal_slug>[\w-]+)/create/$',
        views.create_proposal_comment, name='proposal-comment-create'),
    url(r'^(?P<proposal_slug>[\w-]+)/comments/(?P<proposal_comment_id>\d+)/up-vote/$',
        views.proposal_comment_up_vote, name='proposal-comment-up-vote'),
    url(r'^(?P<proposal_slug>[\w-]+)/comments/(?P<proposal_comment_id>\d+)/down-vote/$',
        views.proposal_comment_down_vote, name='proposal-comment-down-vote'),
)

urlpatterns = patterns(
    '',
    # proposal urls
    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'),
    # url(r'^(?P<slug>[\w-]+)/review/$',
    #     views.review_proposal, name='proposal-review'),
    # comment urls
    url(r'^comment/', include(comment_urls)),
{'fraction_non_alphanumeric': 0.21237585943468296, 'fraction_numerical': 0.0007639419404125286, 'mean_word_length': 4.323170731707317, 'pattern_counts': {'":': 0, '<': 21, '<?xml version=': 0, '>': 21, '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': '6581910', 'n_tokens_mistral': 962, 'n_tokens_neox': 963, 'n_words': 116}