<commit_before># -*- coding: utf-8 -*-

"""
Main URL mapping configuration file.

Include other URLConfs from external apps using method `include()`.

It is also a good practice to keep a single URL to the root index page.

This examples uses Django's default media
files serving technique in development.
"""

from django.conf import settings
from django.conf.urls import include, url
from django.contrib import admin
from django.contrib.admindocs import urls as admindocs_urls
from django.views.generic import TemplateView
from health_check import urls as health_urls

from server.main_app import urls as main_urls
from server.main_app.views import index

admin.autodiscover()


urlpatterns = [
    # Apps:
    url(r'^main/', include(main_urls, namespace='main_app')),

    # Health checks:
    url(r'^health/', include(
        (health_urls, 'health_check'), namespace='health',
    )),

    # django-admin:
    url(r'^admin/doc/', include(admindocs_urls)),  # noqa: DJ05
    url(r'^admin/', admin.site.urls),

    # Text and xml static files:
    url(r'^robots\.txt$', TemplateView.as_view(
        template_name='txt/robots.txt',
        content_type='text/plain',
    )),
    url(r'^humans\.txt$', TemplateView.as_view(
        template_name='txt/humans.txt',<commit_msg>Fixes travis build<commit_after># -*- coding: utf-8 -*-

"""
Main URL mapping configuration file.

Include other URLConfs from external apps using method `include()`.

It is also a good practice to keep a single URL to the root index page.

This examples uses Django's default media
files serving technique in development.
"""

from django.conf import settings
from django.conf.urls import include, url
from django.contrib import admin
from django.contrib.admindocs import urls as admindocs_urls
from django.views.generic import TemplateView
from health_check import urls as health_urls

from server.main_app import urls as main_urls
from server.main_app.views import index

admin.autodiscover()


urlpatterns = [
    # Apps:
    url(r'^main/', include(main_urls, namespace='main_app')),

    # Health checks:
    url(r'^health/', include(health_urls)),  # noqa: DJ05

    # django-admin:
    url(r'^admin/doc/', include(admindocs_urls)),  # noqa: DJ05
    url(r'^admin/', admin.site.urls),

    # Text and xml static files:
    url(r'^robots\.txt$', TemplateView.as_view(
        template_name='txt/robots.txt',
        content_type='text/plain',
    )),
    url(r'^humans\.txt$', TemplateView.as_view(
        template_name='txt/humans.txt',
{'fraction_non_alphanumeric': 0.11587301587301588, 'fraction_numerical': 0.0031746031746031746, 'mean_word_length': 3.9334637964774952, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, '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': '2757277', 'n_tokens_mistral': 807, 'n_tokens_neox': 780, 'n_words': 230}