<commit_before>import json

from django.conf import settings
from django.views.generic import View
from django.utils.safestring import mark_safe
from django.shortcuts import render_to_response, RequestContext<commit_msg>Fixed support for Django 1.10<commit_after>import json

from django.conf import settings
from django.views.generic import View
from django.utils.safestring import mark_safe
from django.shortcuts import render_to_response
from django.template import RequestContext
{'fraction_non_alphanumeric': 0.043478260869565216, 'fraction_numerical': 0.006211180124223602, 'mean_word_length': 7.066666666666666, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '102597', 'n_tokens_mistral': 129, 'n_tokens_neox': 123, 'n_words': 44}