<commit_before>from django.conf.urls import patterns, include, url
from django.views.generic.base import RedirectView
from django.core.urlresolvers import reverse_lazy
from django.contrib.staticfiles.urls import staticfiles_urlpatterns
from django.conf.urls.static import static
from django.conf import settings
from django.contrib import admin

admin.autodiscover()

urlpatterns = patterns(
    '',

    url(r'^admin/', include(admin.site.urls)),
    url(r'^hub/', include('djpubsubhubbub.urls')),

    url(r'^$', RedirectView.as_view(url=reverse_lazy('feeds_list'))),

    url(r'^auth/', include('apps.auth.urls')),
    url(r'^feeds/', include('apps.feeds.urls')),
)

# Serve statics during development
urlpatterns += staticfiles_urlpatterns()
urlpatterns += static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)<commit_msg>Serve static for now inefficiently <commit_after>from django.conf.urls import patterns, include, url
from django.views.generic.base import RedirectView
from django.core.urlresolvers import reverse_lazy
from django.conf import settings
from django.contrib import admin

admin.autodiscover()

urlpatterns = patterns(
    '',

    url(r'^admin/', include(admin.site.urls)),
    url(r'^hub/', include('djpubsubhubbub.urls')),

    url(r'^$', RedirectView.as_view(url=reverse_lazy('feeds_list'))),

    url(r'^auth/', include('apps.auth.urls')),
    url(r'^feeds/', include('apps.feeds.urls')),
)

# Serve statics during development
urlpatterns += patterns(
    '',
    url(r'^static/(?P<path>.*)$', 'django.views.static.serve', {
        'document_root': settings.MEDIA_ROOT}),
)
{'fraction_non_alphanumeric': 0.1485394655065258, 'fraction_numerical': 0.0, 'mean_word_length': 5.465863453815261, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, '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': '1266516', 'n_tokens_mistral': 540, 'n_tokens_neox': 531, 'n_words': 101}