<commit_before>from __future__ import absolute_import
from __future__ import unicode_literals

from django.conf.urls import include, url
from django.contrib import admin
from django.views.generic import TemplateView

from . import views

urlpatterns = [
    # Admin
    url(r'^jet/', include('jet.urls', 'jet')),  # Django JET URLS
    url(r'^admin/', include(admin.site.urls)),
    url(r'^$', views.IndexView.as_view(), name='index'),

    # Simple template views
    url(r'^about/$', TemplateView.as_view(template_name='about.html'), name='about'),
    url(r'^contact/$', TemplateView.as_view(template_name='contact.html'), name='contact'),
    url(r'^news/$', TemplateView.as_view(template_name='news.html'), name='news'),
    url(r'^projects-we-like/$', TemplateView.as_view(template_name='projects_we_like.html'), name='projects'),
    url(r'^resources/$', TemplateView.as_view(template_name='resources.html'), name='resources'),
    url(r'^manifestos/', include('manifestos.urls', namespace='manifestos')),
    url(r'^annotations/', include('annotations.urls', namespace='annotations')),

    # Let's Encrypt challenge
    url(r'^.well-known/acme-challenge/(?P<key>.*)/', views.acme_challenge),

    # allauth
    url(r'^accounts/', include('allauth.urls')),
]
<commit_msg>Escapes `.` literal in ACME challenge URL regex<commit_after>from __future__ import absolute_import
from __future__ import unicode_literals

from django.conf.urls import include, url
from django.contrib import admin
from django.views.generic import TemplateView

from . import views

urlpatterns = [
    # Admin
    url(r'^jet/', include('jet.urls', 'jet')),  # Django JET URLS
    url(r'^admin/', include(admin.site.urls)),
    url(r'^$', views.IndexView.as_view(), name='index'),

    # Simple template views
    url(r'^about/$', TemplateView.as_view(template_name='about.html'), name='about'),
    url(r'^contact/$', TemplateView.as_view(template_name='contact.html'), name='contact'),
    url(r'^news/$', TemplateView.as_view(template_name='news.html'), name='news'),
    url(r'^projects-we-like/$', TemplateView.as_view(template_name='projects_we_like.html'), name='projects'),
    url(r'^resources/$', TemplateView.as_view(template_name='resources.html'), name='resources'),
    url(r'^manifestos/', include('manifestos.urls', namespace='manifestos')),
    url(r'^annotations/', include('annotations.urls', namespace='annotations')),

    # Let's Encrypt challenge
    url(r'^\.well-known/acme-challenge/(?P<key>.*)/', views.acme_challenge),

    # allauth
    url(r'^accounts/', include('allauth.urls')),
]

{'fraction_non_alphanumeric': 0.1812572310065561, 'fraction_numerical': 0.0, 'mean_word_length': 5.55050505050505, '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': '4086518', 'n_tokens_mistral': 859, 'n_tokens_neox': 820, 'n_words': 144}