<commit_before>from django.conf.urls import patterns, include, url
from django.contrib import admin
from django.conf import settings
from django.conf.urls.static import static
admin.autodiscover()

urlpatterns = patterns('',
    url(r'^jsreverse/$', 'django_js_reverse.views.urls_js', name='js_reverse'),
    url(r'^AC/', include('AC.urls')),
    url(r'^ESXi/', include('ESXi.urls')),
    url(r'^cam/', include('cam.urls')),
    url(r'^debug/', include('debug.urls')),
    url(r'^admin/', include(admin.site.urls)),
) + static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)<commit_msg>serving media directory only in dev<commit_after>from django.conf.urls import patterns, include, url
from django.contrib import admin
from django.conf import settings
from django.conf.urls.static import static
admin.autodiscover()

urlpatterns = patterns('',
    url(r'^jsreverse/$', 'django_js_reverse.views.urls_js', name='js_reverse'),
    url(r'^AC/', include('AC.urls')),
    url(r'^ESXi/', include('ESXi.urls')),
    url(r'^cam/', include('cam.urls')),
    url(r'^debug/', include('debug.urls')),
    url(r'^admin/', include(admin.site.urls)),
)

if settings.DEBUG:
    urlpatterns += static(settings.MEDIA_URL,
                          document_root=settings.MEDIA_ROOT)
{'fraction_non_alphanumeric': 0.17387883556254918, 'fraction_numerical': 0.0, 'mean_word_length': 4.916279069767442, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '5308424', 'n_tokens_mistral': 432, 'n_tokens_neox': 427, 'n_words': 79}