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

urlpatterns = patterns('',
    url(r'^$', 'devlol.views.index'),

    # Static Stuff
    url(r'^location/$', 'devlol.views.location'),
    url(r'^mail/$',     'devlol.views.mail'),

    # Diary Stuff
    url(r'^diary/$',                            'devlol.views.index'),
    url(r'^diary/event/(?P<event_id>[0-9]+)/$', 'diary.views.item'),

    # API Stuff
    url(r'^api/events$', 'devlol.views.events'),

    # iCal Export
    url(r'^export/ical/events.ics$', 'devlol.views.ical'),

    # Admin Stuff
    url(r'^admin/', include(admin.site.urls)),
)<commit_msg>Fix rout for diary/event, argument has to be item_id<commit_after>from django.conf.urls import patterns, include, url
from django.contrib import admin

urlpatterns = patterns('',
    url(r'^$', 'devlol.views.index'),

    # Static Stuff
    url(r'^location/$', 'devlol.views.location'),
    url(r'^mail/$',     'devlol.views.mail'),

    # Diary Stuff
    url(r'^diary/$',                            'devlol.views.index'),
    url(r'^diary/event/(?P<item_id>[0-9]+)/$', 'diary.views.item'),

    # API Stuff
    url(r'^api/events$', 'devlol.views.events'),

    # iCal Export
    url(r'^export/ical/events.ics$', 'devlol.views.ical'),

    # Admin Stuff
    url(r'^admin/', include(admin.site.urls)),
)
{'fraction_non_alphanumeric': 0.19765739385065886, 'fraction_numerical': 0.0029282576866764276, 'mean_word_length': 3.044378698224852, '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': '5580790', 'n_tokens_mistral': 522, 'n_tokens_neox': 490, 'n_words': 84}