<commit_before>from django.conf import settings
from django.conf.urls import include, patterns, url

from django.contrib import admin
admin.autodiscover()

from big_projects_watch.urls import urlpatterns

if settings.DEBUG:
    urlpatterns += patterns('',
        url(r'^admin/', include(admin.site.urls)),
        url(r'^media/(?P<path>.*)$', 'django.views.static.serve', {
            'document_root': settings.MEDIA_ROOT,
        }),
    )<commit_msg>Wrong integration of admin url in urls.py<commit_after>from django.conf import settings
from django.conf.urls import include, patterns, url

from django.contrib import admin
admin.autodiscover()

from big_projects_watch.urls import urlpatterns

urlpatterns += patterns('',
    url(r'^admin/', include(admin.site.urls)),
)

if settings.DEBUG:
    urlpatterns += patterns('',
        url(r'^media/(?P<path>.*)$', 'django.views.static.serve', {
            'document_root': settings.MEDIA_ROOT,
        }),
    )
{'fraction_non_alphanumeric': 0.1391484942886812, 'fraction_numerical': 0.0, 'mean_word_length': 3.8442211055276383, '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': '3170407', 'n_tokens_mistral': 298, 'n_tokens_neox': 295, 'n_words': 66}