<commit_before>from django.conf.urls.defaults import *
from django.conf import settings
from django.contrib import admin

admin.autodiscover()

urlpatterns = patterns('',
                       # for now, everything is in main app
                       url(r'^admin/', include('findingaids.admin.urls', namespace='admin')),
                       (r'^db-admin/', include(admin.site.urls)),
                       url(r'^$', 'findingaids.fa.views.site_index', name="site-index"),
                       url(r'^', include('findingaids.fa.urls', namespace='fa')),
)

# DISABLE THIS IN PRODUCTION
if settings.DEV_ENV:
    urlpatterns += patterns('',
        (r'^static/(?P<path>.*)$', 'django.views.static.serve', {
            'document_root': settings.MEDIA_ROOT,
            }),
    )

<commit_msg>remove django-admin entirely, using only local admin site<commit_after>from django.conf.urls.defaults import *
from django.conf import settings

urlpatterns = patterns('',                                                                                  
                       url(r'^admin/', include('findingaids.admin.urls', namespace='admin')),
                       url(r'^$', 'findingaids.fa.views.site_index', name="site-index"),
                       # everything else should fall through to the main app
                       url(r'^', include('findingaids.fa.urls', namespace='fa')),
)

# DISABLE THIS IN PRODUCTION
if settings.DEV_ENV:
    urlpatterns += patterns('',
        (r'^static/(?P<path>.*)$', 'django.views.static.serve', {
            'document_root': settings.MEDIA_ROOT,
            }),
    )


{'fraction_non_alphanumeric': 0.1446229913473424, 'fraction_numerical': 0.0, 'mean_word_length': 2.043233082706767, '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': 3, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4359004', 'n_tokens_mistral': 459, 'n_tokens_neox': 433, 'n_words': 90}