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

# import usep_app
from django.conf.urls import patterns, include, url
from django.contrib import admin
from django.views.generic import RedirectView


admin.autodiscover()

# urlpatterns = patterns('',

#     url( r'^usep/admin/', include(admin.site.urls) ),  # eg host/project_x/admin/

#     url( r'^usep/', include('usep_app.urls_app') ),  # eg host/project_x/anything/

# )


urlpatterns = patterns('',

    url( r'^usep/admin/', include(admin.site.urls) ),  # eg host/project_x/admin/

    url( r'^usep/info/$',  'usep_app.views.hi', name='info_url' ),

    url( r'^usep/collections/$',  'usep_app.views.collections', name='collections_url' ),
    url( r'^usep/collections/(?P<collection>[^/]+)/$',  'usep_app.views.collection', name='collection_url' ),
    url( r'^usep/inscription/(?P<inscription_id>[^/]+)/$', 'usep_app.views.display_inscription', name='inscription_url' ),

    url( r'^usep/publications/$',  'usep_app.views.publications', name='publications_url' ),
    url( r'^usep/publication/(?P<publication>[^/]+)/$', 'usep_app.views.pub_children', name='publication_url' ),

    url( r'^usep/texts/$',  'usep_app.views.texts', name='texts_url' ),
    url( r'^usep/links/$',  'usep_app.views.links', name='links_url' ),
    url( r'^usep/about/$',  'usep_app.views.about', name='about_url' ),
    url( r'^usep/contact/$',  'usep_app.views.contact', name='contact_url' ),

    url( r'^usep/search/$', 'usep_app.search.search_form', name='search_url'),
    # url( r'^search/results/$', 'usep_app.views.coming', name='search_results_url'),
    url( r'^usep/search/results/$', 'usep_app.search.results', name='search_results_url'),

    url( r'^usep/$',  RedirectView.as_view(pattern_name='collections_url') ),

    )
<commit_msg>removes comments.<commit_after># -*- coding: utf-8 -*-

# import usep_app
from django.conf.urls import patterns, include, url
from django.contrib import admin
from django.views.generic import RedirectView


admin.autodiscover()


urlpatterns = patterns('',

    url( r'^usep/admin/', include(admin.site.urls) ),  # eg host/project_x/admin/

    url( r'^usep/info/$',  'usep_app.views.hi', name='info_url' ),

    url( r'^usep/collections/$',  'usep_app.views.collections', name='collections_url' ),
    url( r'^usep/collections/(?P<collection>[^/]+)/$',  'usep_app.views.collection', name='collection_url' ),
    url( r'^usep/inscription/(?P<inscription_id>[^/]+)/$', 'usep_app.views.display_inscription', name='inscription_url' ),

    url( r'^usep/publications/$',  'usep_app.views.publications', name='publications_url' ),
    url( r'^usep/publication/(?P<publication>[^/]+)/$', 'usep_app.views.pub_children', name='publication_url' ),

    url( r'^usep/texts/$',  'usep_app.views.texts', name='texts_url' ),
    url( r'^usep/links/$',  'usep_app.views.links', name='links_url' ),
    url( r'^usep/about/$',  'usep_app.views.about', name='about_url' ),
    url( r'^usep/contact/$',  'usep_app.views.contact', name='contact_url' ),

    url( r'^usep/search/$', 'usep_app.search.search_form', name='search_url'),
    # url( r'^search/results/$', 'usep_app.views.coming', name='search_results_url'),
    url( r'^usep/search/results/$', 'usep_app.search.results', name='search_results_url'),

    url( r'^usep/$',  RedirectView.as_view(pattern_name='collections_url') ),

    )

{'fraction_non_alphanumeric': 0.2100715137067938, 'fraction_numerical': 0.0005959475566150178, 'mean_word_length': 4.7384615384615385, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, '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': '4574840', 'n_tokens_mistral': 1307, 'n_tokens_neox': 1191, 'n_words': 177}