<commit_before>from django.conf.urls import patterns, include, url
from django.views.decorators.csrf import csrf_exempt
from main.views import PasteView, DisplayView

from django.contrib import admin
admin.autodiscover()

urlpatterns = patterns(
    '',
    url(r'^admin/', include(admin.site.urls)),
    url(r'^paste/$', PasteView.as_view()),
    url(r'^paste/(?P<paste_id>\d+)/$', csrf_exempt(DisplayView.as_view())),
)<commit_msg>removed the testing csrf exception from DisplayView<commit_after>from django.conf.urls import patterns, include, url
from django.views.decorators.csrf import csrf_exempt
from main.views import PasteView, DisplayView

from django.contrib import admin
admin.autodiscover()

urlpatterns = patterns(
    '',
    url(r'^admin/', include(admin.site.urls)),
    url(r'^paste/$', PasteView.as_view()),
    url(r'^paste/(?P<paste_id>\d+)/$', DisplayView.as_view()),
)
{'fraction_non_alphanumeric': 0.15039281705948374, 'fraction_numerical': 0.0, 'mean_word_length': 5.510948905109489, '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': '5083032', 'n_tokens_mistral': 306, 'n_tokens_neox': 303, 'n_words': 62}