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

from apps.views import CreateVersionedApp, DetailVersionedApp, ListApps
from apps.api import v1_api

urlpatterns = patterns(
    'apps',

    url(
        r'^apps/$',
        ListApps.as_view(),
        name="list_apps"
    ),

    url(
        r'^apps/create/$',
        CreateVersionedApp.as_view(),
        name="create_versioned_app"
    ),

    url(
        r'^apps/(?P<pk>\d)/$',
        DetailVersionedApp.as_view(),
        name="details_versioned_app"
    ),
    url(
        r'^api/',
        include(v1_api.urls)
    ),

)<commit_msg>Fix url for details.<commit_after>from django.conf.urls import patterns, url, include

from apps.views import CreateVersionedApp, DetailVersionedApp, ListApps
from apps.api import v1_api

urlpatterns = patterns(
    'apps',

    url(
        r'^apps/$',
        ListApps.as_view(),
        name="list_apps"
    ),

    url(
        r'^apps/create/$',
        CreateVersionedApp.as_view(),
        name="create_versioned_app"
    ),

    url(
        r'^apps/(?P<pk>\d+)/$',
        DetailVersionedApp.as_view(),
        name="details_versioned_app"
    ),
    url(
        r'^api/',
        include(v1_api.urls)
    ),

)
{'fraction_non_alphanumeric': 0.13776337115072934, 'fraction_numerical': 0.0032414910858995136, 'mean_word_length': 2.310991957104558, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '5846994', 'n_tokens_mistral': 433, 'n_tokens_neox': 419, 'n_words': 71}