<commit_before>from django.conf.urls import patterns, include, url
from django.views.generic.base import RedirectView
from django.contrib import admin
from sked.views import RedirectFromPk
admin.autodiscover()

urlpatterns = patterns(
    '',
    url(r'^logistics/$', RedirectView.as_view(url="/about/logistics/")),
    url(r'^sessions/$', RedirectView.as_view(url="/schedule/")),
    url(r'^sessions/(?P<pk>[\d]+)/$', RedirectFromPk.as_view()),

    url(r'^treenav/', include('treenav.urls')),
    url(r'^grappelli/', include('grappelli.urls')),
    url(r'^admin/', include(admin.site.urls)),
    url(r'^admin/varnish/', include('varnishapp.urls')),
    url(r'^staff/$', RedirectView.as_view(url="/staff/login")),
    url(r'^staff/', include('googleauth.urls')),
    url(r'^schedule/', include('sked.urls', namespace='sked')),
    url(r'^sms/', include('sms.urls', namespace='sms')),
    url(r'^api/', include('api.urls')),
    url(r'^login/$', 'camp.views.login', name='login'),
    url(r'^logged-in/$', 'camp.views.logged_in', name='logged_in'),
    url(r'^logout/$', 'django.contrib.auth.views.logout', {'next_page': '/', 'redirect_field_name': 'next'}, name='logout'),
    url(r'^sponsor-contact/$', 'camp.views.sponsor_contact', name='sponsor_contact'),
    url(r'^', include('sfapp.urls')),
    url(r'^', include('social.apps.django_app.urls', namespace='social')),
    url(r'^', include('brainstorm.urls', namespace='brainstorm')),
)
<commit_msg>add some redirects for fun<commit_after>from django.conf.urls import patterns, include, url
from django.views.generic.base import RedirectView
from django.contrib import admin
from sked.views import RedirectFromPk
admin.autodiscover()

urlpatterns = patterns(
    '',
    url(r'^logistics/$', RedirectView.as_view(url="/about/logistics/")),
    url(r'^sessions/$', RedirectView.as_view(url="/schedule/")),
    url(r'^sessions/(?P<pk>[\d]+)/$', RedirectFromPk.as_view()),

    # FIXME: These will need to be updated next year.
    url(r'^submit/$', RedirectView.as_view(url='/schedule/2013/new/')),
    url(r'^wall/$', RedirectView.as_view(url='/schedule/2013/wall/?timeslots=11:30am,12:30pm,1:30pm,2:30pm,3:30pm,4:30pm&refresh=300000')),
    url(r'^tv/$', RedirectView.as_view(url='/schedule/2013/tv/?timeslots=11:30am,12:30pm,1:30pm,2:30pm,3:30pm,4:30pm&refresh=300000')),

    url(r'^treenav/', include('treenav.urls')),
    url(r'^grappelli/', include('grappelli.urls')),
    url(r'^admin/', include(admin.site.urls)),
    url(r'^admin/varnish/', include('varnishapp.urls')),
    url(r'^staff/$', RedirectView.as_view(url="/staff/login")),
    url(r'^staff/', include('googleauth.urls')),
    url(r'^schedule/', include('sked.urls', namespace='sked')),
    url(r'^sms/', include('sms.urls', namespace='sms')),
    url(r'^api/', include('api.urls')),
    url(r'^login/$', 'camp.views.login', name='login'),
    url(r'^logged-in/$', 'camp.views.logged_in', name='logged_in'),
    url(r'^logout/$', 'django.contrib.auth.views.logout', {'next_page': '/', 'redirect_field_name': 'next'}, name='logout'),
    url(r'^sponsor-contact/$', 'camp.views.sponsor_contact', name='sponsor_contact'),
    url(r'^', include('sfapp.urls')),
    url(r'^', include('social.apps.django_app.urls', namespace='social')),
    url(r'^', include('brainstorm.urls', namespace='brainstorm')),
)

{'fraction_non_alphanumeric': 0.23164861612515042, 'fraction_numerical': 0.019253910950661854, 'mean_word_length': 5.663326653306613, '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': '2827033', 'n_tokens_mistral': 1305, 'n_tokens_neox': 1238, 'n_words': 159}