<commit_before>from django.conf.urls import patterns, include, url
from django.contrib.flatpages import urls
from search.views import CustomSearchView
from haystack.views import search_view_factory
from django.conf import settings

from django.contrib import admin
admin.autodiscover()

urlpatterns = patterns('',
    url('', include('lobbyingph.urls')),
    url(r'^api/', include('api.urls')),
    url(r'^search/', search_view_factory(
        view_class=CustomSearchView,
        ), name='haystack_search'),
    url(r'^about/', include(urls.urlpatterns)),
    url(r'^admin/', include(admin.site.urls)),
)

if not settings.DEBUG:
    urlpatterns += patterns('',
        url(r'^static/fonts/(?P<path>.*)$', 'django.views.static.serve', {'document_root': settings.STATIC_ROOT}),
    )<commit_msg>Remove font serving from app<commit_after>from django.conf.urls import patterns, include, url
from django.contrib.flatpages import urls
from search.views import CustomSearchView
from haystack.views import search_view_factory
from django.conf import settings

from django.contrib import admin
admin.autodiscover()

urlpatterns = patterns('',
    url('', include('lobbyingph.urls')),
    url(r'^api/', include('api.urls')),
    url(r'^search/', search_view_factory(
        view_class=CustomSearchView,
        ), name='haystack_search'),
    url(r'^about/', include(urls.urlpatterns)),
    url(r'^admin/', include(admin.site.urls)),
)
{'fraction_non_alphanumeric': 0.14565826330532214, 'fraction_numerical': 0.0, 'mean_word_length': 4.97907949790795, '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': '6489723', 'n_tokens_mistral': 448, 'n_tokens_neox': 438, 'n_words': 95}