<commit_before>from django.conf.urls.defaults import *
from myconf.settings import MEDIA_ROOT, STATIC_URL, STATIC_ROOT
from django.views.generic.simple import direct_to_template
# Uncomment the next two lines to enable the admin:
from django.contrib import admin
admin.autodiscover()

urlpatterns = patterns('',
    # Example:

    # (r'^myconf/', include('myconf.foo.urls')),
    (r'^$', direct_to_template, {'template': 'home.djhtml'}),

    (r'^staff/$', 'myconf.people.views.staff'),
    (r'^people/(?P<slug>\w+)/$', 'myconf.people.views.user'),
    # (r'^notifications/$', 'notifications.views.index'),
    (r'^schedule/$', 'myconf.schedule.views.schedule'),
    # Uncomment the admin/doc line below to enable admin documentation:
    (r'^admin/doc/', include('django.contrib.admindocs.urls')),

    # Uncomment the next line to enable the admin:
    (r'^admin/', include(admin.site.urls)),
                       
    (r'^site_media/(?P<path>.*)$', 'django.views.static.serve',
        {'document_root': MEDIA_ROOT}),

    (r'^static/(?P<path>.*)$', 'django.views.static.serve',<commit_msg>people slug can contain hyphens and digits<commit_after>from django.conf.urls.defaults import *
from myconf.settings import MEDIA_ROOT, STATIC_URL, STATIC_ROOT
from django.views.generic.simple import direct_to_template
# Uncomment the next two lines to enable the admin:
from django.contrib import admin
admin.autodiscover()

urlpatterns = patterns('',
    # Example:

    # (r'^myconf/', include('myconf.foo.urls')),
    (r'^$', direct_to_template, {'template': 'home.djhtml'}),

    (r'^staff/$', 'myconf.people.views.staff'),
    (r'^people/(?P<slug>[\w\d-]+)/$', 'myconf.people.views.user'),
    # (r'^notifications/$', 'notifications.views.index'),
    (r'^schedule/$', 'myconf.schedule.views.schedule'),
    # Uncomment the admin/doc line below to enable admin documentation:
    (r'^admin/doc/', include('django.contrib.admindocs.urls')),

    # Uncomment the next line to enable the admin:
    (r'^admin/', include(admin.site.urls)),
                       
    (r'^site_media/(?P<path>.*)$', 'django.views.static.serve',
        {'document_root': MEDIA_ROOT}),

    (r'^static/(?P<path>.*)$', 'django.views.static.serve',
{'fraction_non_alphanumeric': 0.18328840970350405, 'fraction_numerical': 0.0, 'mean_word_length': 4.049886621315193, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, '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': '4503969', 'n_tokens_mistral': 756, 'n_tokens_neox': 723, 'n_words': 147}