<commit_before>from django.conf import settings


def get_setting(name, default):
    """ Get setting by name.
    """
    return getattr(settings, 'ADJAX_{0}'.format(name.upper()), default)


TEMPLATE = get_setting('template', 'adjax/interface')
DATA = get_setting('data', {})
CONTENT_TYPE = get_setting('content_type', 'application/javascript')
VIEWS_MODULE_NAME = get_setting('module_name', 'ajax')
TYPES_MODULE_NAME = get_setting('module_name', 'types')<commit_msg>Fix module name settings<commit_after>from django.conf import settings


def get_setting(name, default):
    """ Get setting by name.
    """
    return getattr(settings, 'ADJAX_{0}'.format(name.upper()), default)


TEMPLATE = get_setting('template', 'adjax/interface')
DATA = get_setting('data', {})
CONTENT_TYPE = get_setting('content_type', 'application/javascript')
VIEWS_MODULE_NAME = get_setting('views_module_name', 'ajax')
TYPES_MODULE_NAME = get_setting('types_module_name', 'types')
{'fraction_non_alphanumeric': 0.14776274713839752, 'fraction_numerical': 0.002081165452653486, 'mean_word_length': 7.016666666666667, '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': '1740971', 'n_tokens_mistral': 304, 'n_tokens_neox': 303, 'n_words': 60}