<commit_before>from django.conf.urls import patterns, url
from openbudgets.apps.entities.views.ui import EntityDetail, EntityList


urlpatterns = patterns('',

    url(r'^$',
        EntityList.as_view(), name='entity_list'),

    url(r'^jsi18n/$',
        'django.views.i18n.javascript_catalog',
        {'packages': ('openbudget.apps.entities',)},name='entities_js_i18n'),

    url(r'^(?P<slug>[-\w]+)/$',
        EntityDetail.as_view(), name='entity_detail'),

    url(r'^(?P<slug>[-\w]+)/(?P<period>\d+)/$',
        EntityDetail.as_view(), name='entity_detail'),

    url(r'^(?P<slug>[-\w]+)/(?P<period>\d+)/(?P<item_id>[-\w]+)/$',
        EntityDetail.as_view(), name='entity_detail'),<commit_msg>Fixed url for js i18n<commit_after>from django.conf.urls import patterns, url
from openbudgets.apps.entities.views.ui import EntityDetail, EntityList


urlpatterns = patterns('',

    url(r'^$',
        EntityList.as_view(), name='entity_list'),

    url(r'^jsi18n/$',
        'django.views.i18n.javascript_catalog',
        {'packages': ('openbudgets.apps.entities',)},name='entities_js_i18n'),

    url(r'^(?P<slug>[-\w]+)/$',
        EntityDetail.as_view(), name='entity_detail'),

    url(r'^(?P<slug>[-\w]+)/(?P<period>\d+)/$',
        EntityDetail.as_view(), name='entity_detail'),

    url(r'^(?P<slug>[-\w]+)/(?P<period>\d+)/(?P<item_id>[-\w]+)/$',
        EntityDetail.as_view(), name='entity_detail'),
{'fraction_non_alphanumeric': 0.23637650389242745, 'fraction_numerical': 0.009907997169143666, 'mean_word_length': 4.141818181818182, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 15, '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': '913380', 'n_tokens_mistral': 544, 'n_tokens_neox': 512, 'n_words': 59}