<commit_before>from django.conf.urls import patterns, include, url
from accession.admin_views import duplicates
from accession.admin import main_admin

from django.contrib import admin
admin.autodiscover()

urlpatterns = patterns(
    '',
    url(r'^admin/accession/(?P<model_selected>.*)/duplicates/$', duplicates),
    url(r'^admin/', include(main_admin.urls)),
    url(r'^tfc/', include('accession.urls')),
)<commit_msg>Made the print view, duplicates view, and csv export views accessible from the test project's admin site.<commit_after>from django.conf.urls import patterns, include, url
from django.contrib import admin

from accession.admin_views import duplicates, export_csv, print_view
from accession.admin import main_admin

admin.autodiscover()

urlpatterns = patterns(
    '',
    url(r'^admin/(accession)/([^/]+)/([0-9]+)/print/$', print_view),
    url(r'^admin/(accession)/(?P<model_selected>.*)/duplicates/$', duplicates),
    url(r'^admin/(accession)/([^/]+)/export_csv/$', export_csv),
    url(r'^admin/', include(main_admin.urls)),
    url(r'^tfc/', include('accession.urls')),
)
{'fraction_non_alphanumeric': 0.16469517743403095, 'fraction_numerical': 0.0018198362147406734, 'mean_word_length': 5.508875739644971, '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': '1721557', 'n_tokens_mistral': 367, 'n_tokens_neox': 345, 'n_words': 76}