<commit_before>"""Django settings for use within the docker container."""

from os.path import join

import dj_database_url

from .production import *  # noqa: F401, F403

# Disable debug mode

DEBUG = False

COMPRESS_OFFLINE = True

DATABASES = {
    'default': dj_database_url.config(
        default='sqlite:///%s' % (join(PROJECT_ROOT, 'malaria24.sqlite3'),))}

LOCALE_PATHS = (
    join(PROJECT_ROOT, "locale"),
)<commit_msg>set the docker settings to consumer the broker_url from the enviroment variables<commit_after>"""Django settings for use within the docker container."""

from os.path import join

import dj_database_url

from .production import *  # noqa: F401, F403

# Disable debug mode

DEBUG = False

COMPRESS_OFFLINE = True

BROKER_URL = environ.get('BROKER_URL') or BROKER_URL

DATABASES = {
    'default': dj_database_url.config(
        default='sqlite:///%s' % (join(PROJECT_ROOT, 'malaria24.sqlite3'),))}

LOCALE_PATHS = (
    join(PROJECT_ROOT, "locale"),
)
{'fraction_non_alphanumeric': 0.11824668705402651, 'fraction_numerical': 0.01834862385321101, 'mean_word_length': 4.548022598870056, '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': '2857755', 'n_tokens_mistral': 354, 'n_tokens_neox': 340, 'n_words': 87}