<commit_before>from django.conf import settings

SECRET_KEY = "tests"

TEMPLATES = [
    {"BACKEND": "django.template.backends.django.DjangoTemplates", "APP_DIRS": True}
]

INSTALLED_APPS = settings.INSTALLED_APPS + [
    "wagtail.core",
    "wagtail.admin",
    "wagtailcodeblock",
]

MIDDLEWARE = settings.MIDDLEWARE + ["wagtail.core.middleware.SiteMiddleware"]<commit_msg>More test settings to allow running a minimal app with manage.py for development in addition to testing.<commit_after>from django.conf import settings

SECRET_KEY = "tests"
DEBUG = True

TEMPLATES = [
    {"BACKEND": "django.template.backends.django.DjangoTemplates", "APP_DIRS": True}
]

INSTALLED_APPS = settings.INSTALLED_APPS + [
    "django.contrib.auth",
    "django.contrib.contenttypes",

    "wagtail.core",
    "wagtail.admin",
    "wagtailcodeblock",

    "tests",
]

MIDDLEWARE = settings.MIDDLEWARE + ["wagtail.core.middleware.SiteMiddleware"]

ROOT_URLCONF = "tests.urls"

DATABASES = {
    'default': {
        'ENGINE': 'django.db.backends.sqlite3',
        'NAME': 'test_db.sqlite3',
    }
}
{'fraction_non_alphanumeric': 0.1348107109879963, 'fraction_numerical': 0.0018467220683287165, 'mean_word_length': 4.211538461538462, 'pattern_counts': {'":': 4, '<': 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': '7175338', 'n_tokens_mistral': 395, 'n_tokens_neox': 389, 'n_words': 66}