<commit_before>import os

from django.conf import settings
from django.conf.urls.defaults import include, patterns, url
from django.conf.urls.static import static
from django.contrib import admin
from django.contrib.staticfiles.urls import staticfiles_urlpatterns
from django.views.generic import TemplateView

admin.autodiscover()
urlpatterns = patterns('',
    (r'^grappelli/', include('grappelli.urls')),
    (r'^admin/doc/', include('django.contrib.admindocs.urls')),
    (r'^admin/', include(admin.site.urls)),
    # Homepage
    #(r'^$', TemplateView.as_view(template_name='home.html')),
)

# Static files only get served by django in DEBUG mode
if settings.DEBUG:

    # Add local directory to root
    local_path = os.path.join(settings.DEV_STATIC_ROOT, 'local')
    if os.path.exists(local_path):
        for fname in os.listdir(local_path):
            parts.append(url(r'^(?P<path>%s)' % fname,
                'django.views.static.serve', {'document_root': local_path}))

    urlpatterns += staticfiles_urlpatterns()<commit_msg>dropping static files serving stuff<commit_after>import os

from django.conf import settings
from django.conf.urls.defaults import include, patterns, url
from django.conf.urls.static import static
from django.contrib import admin
from django.contrib.staticfiles.urls import staticfiles_urlpatterns
from django.views.generic import TemplateView

admin.autodiscover()
urlpatterns = patterns('',
    (r'^grappelli/', include('grappelli.urls')),
    (r'^admin/doc/', include('django.contrib.admindocs.urls')),
    (r'^admin/', include(admin.site.urls)),
    # Homepage
    #(r'^$', TemplateView.as_view(template_name='home.html')),
)

{'fraction_non_alphanumeric': 0.13353293413173653, 'fraction_numerical': 0.0, 'mean_word_length': 4.7620689655172415, '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': '1596973', 'n_tokens_mistral': 524, 'n_tokens_neox': 518, 'n_words': 116}