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


urlpatterns = [
    url(r'^admin/', admin.site.urls),
    url(r'^api/', include('landscapesim.urls')),
    url(r'^maps/', include('ncdjango.urls'))
]

if settings.DEBUG:
    from django.views.generic import TemplateView
    urlpatterns += [
        url(r'^basictest/$', TemplateView.as_view(template_name='test.html')),
        url(r'^maptest/$', TemplateView.as_view(template_name='mapviewer.html')),
        url(r'^$', TemplateView.as_view(template_name='index.html'))
    ]
    urlpatterns += static(settings.STATIC_URL, document_root=settings.STATIC_ROOT)<commit_msg>Moved tool url into main config.<commit_after>from django.conf.urls import url, include
from django.contrib import admin
from django.conf import settings
from django.conf.urls.static import static
from django.views.generic import TemplateView


urlpatterns = [
    url(r'^admin/', admin.site.urls),
    url(r'^api/', include('landscapesim.urls')),
    url(r'^maps/', include('ncdjango.urls')),
    url(r'^$', TemplateView.as_view(template_name='index.html'))
]

if settings.DEBUG:
    urlpatterns += [
        url(r'^basictest/$', TemplateView.as_view(template_name='test.html')),
        url(r'^maptest/$', TemplateView.as_view(template_name='mapviewer.html')),
    ]
    urlpatterns += static(settings.STATIC_URL, document_root=settings.STATIC_ROOT)
{'fraction_non_alphanumeric': 0.15033557046979865, 'fraction_numerical': 0.0, 'mean_word_length': 4.847058823529411, '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': '2240082', 'n_tokens_mistral': 493, 'n_tokens_neox': 483, 'n_words': 84}