<commit_before>from django.conf.urls.defaults import url, patterns, include

from urls import urlpatterns as patterns

urlpatterns = patterns('',
    url(r'^(?P<lang_slug>\w{2})/(?P<version_slug>[\w.-]+)/(?P<filename>.+)$',
        'core.views.serve_docs',
        name='docs_detail'
    ),
    url(r'^(?P<lang_slug>\w{2})/(?P<version_slug>.*)/$',
        'core.views.serve_docs',
        {'filename': 'index.html'},
        name='docs_detail'
    ),
    url(r'^(?P<version_slug>.*)/$',
        'projects.views.public.subdomain_handler',
        name='version_subdomain_handler'
    ),
    url(r'^search/', include('haystack.urls')),
    url(r'^accounts/', include('registration.backends.default.urls')),
    url(r'^$', 'projects.views.public.subdomain_handler')
)

urlpatterns += patterns<commit_msg>Don't override silly things :)<commit_after>from django.conf.urls.defaults import url, patterns, include

from urls import urlpatterns as main_patterns

urlpatterns = patterns('',
    url(r'^(?P<lang_slug>\w{2})/(?P<version_slug>[\w.-]+)/(?P<filename>.+)$',
        'core.views.serve_docs',
        name='docs_detail'
    ),
    url(r'^(?P<lang_slug>\w{2})/(?P<version_slug>.*)/$',
        'core.views.serve_docs',
        {'filename': 'index.html'},
        name='docs_detail'
    ),
    url(r'^(?P<version_slug>.*)/$',
        'projects.views.public.subdomain_handler',
        name='version_subdomain_handler'
    ),
    url(r'^$', 'projects.views.public.subdomain_handler'),
)

urlpatterns += main_patterns
{'fraction_non_alphanumeric': 0.20516214427531437, 'fraction_numerical': 0.0026472534745201853, 'mean_word_length': 3.739811912225705, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 15, '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': '2212712', 'n_tokens_mistral': 542, 'n_tokens_neox': 542, 'n_words': 65}