<commit_before>"""
These functions handle the adding of fields to other models
"""
from django.db.models import FieldDoesNotExist, ForeignKey, ManyToManyField, CASCADE
from . import fields
# from settings import self._field_registry, self._model_registry
from django.utils.translation import ugettext_lazy as _
from django.core.exceptions import ImproperlyConfigured


FIELD_TYPES = {<commit_msg>Add support for Django 3.1<commit_after>"""
These functions handle the adding of fields to other models
"""
from django.db.models import ForeignKey, ManyToManyField, CASCADE
from django.core.exceptions import FieldDoesNotExist
from . import fields
# from settings import self._field_registry, self._model_registry
from django.utils.translation import ugettext_lazy as _
from django.core.exceptions import ImproperlyConfigured


FIELD_TYPES = {
{'fraction_non_alphanumeric': 0.06197854588796186, 'fraction_numerical': 0.0023837902264600714, 'mean_word_length': 6.304347826086956, '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': '6243353', 'n_tokens_mistral': 233, 'n_tokens_neox': 228, 'n_words': 79}