<commit_before>
DATABASES = {
    'default': {
        'ENGINE': 'django.db.backends.mysql',  # Add 'postgresql_psycopg2', 'mysql', 'sqlite3' or 'oracle'.
        'NAME': 'truffe2',                      # Or path to database file if using sqlite3.
        # The following settings are not used with sqlite3:
        'USER': 'truffe2',
        'PASSWORD': <PASSWORD>',
        'HOST': '10.7.0.3',                      # Empty for localhost through domain sockets or '127.0.0.1' for localhost through TCP.
        'PORT': '',                      # Set to empty string for default.
    }
}


# Make this unique, and don't share it with anybody.
SECRET_KEY = '%(secret_key)s'

BROKER_URL = 'amqp://truffe2:%(rabbitmq_password)s@localhost:5672//'

DEBUG = False

RAVEN_CONFIG = {
    'dsn': '%(raven_dsn)s',
}

ACTIVATE_RAVEN = True

ALLOWED_HOSTS = ['truffe2.agepoly.ch', 'truffe.polylan.ch']

CACHES = {
    'default': {
        'BACKEND': 'django.core.cache.backends.memcached.MemcachedCache',
        'LOCATION': '127.0.0.1:11211',
    }
}

SESSION_ENGINE = "django.contrib.sessions.backends.cache"
<commit_msg>Allow direct ip access<commit_after>
DATABASES = {
    'default': {
        'ENGINE': 'django.db.backends.mysql',  # Add 'postgresql_psycopg2', 'mysql', 'sqlite3' or 'oracle'.
        'NAME': 'truffe2',                      # Or path to database file if using sqlite3.
        # The following settings are not used with sqlite3:
        'USER': 'truffe2',
        'PASSWORD': <PASSWORD>',
        'HOST': '10.7.0.3',                      # Empty for localhost through domain sockets or '127.0.0.1' for localhost through TCP.
        'PORT': '',                      # Set to empty string for default.
    }
}


# Make this unique, and don't share it with anybody.
SECRET_KEY = '%(secret_key)s'

BROKER_URL = 'amqp://truffe2:%(rabbitmq_password)s@localhost:5672//'

DEBUG = False

RAVEN_CONFIG = {
    'dsn': '%(raven_dsn)s',
}

ACTIVATE_RAVEN = True

ALLOWED_HOSTS = ['truffe2.agepoly.ch', 'truffe.polylan.ch', '10.7.0.22']

CACHES = {
    'default': {
        'BACKEND': 'django.core.cache.backends.memcached.MemcachedCache',
        'LOCATION': '127.0.0.1:11211',
    }
}

SESSION_ENGINE = "django.contrib.sessions.backends.cache"

{'fraction_non_alphanumeric': 0.1497326203208556, 'fraction_numerical': 0.03297682709447415, 'mean_word_length': 2.5748407643312103, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 7, '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': '5900451', 'n_tokens_mistral': 845, 'n_tokens_neox': 790, 'n_words': 174}