<commit_before>""" use on local machine
"""
from ..settings.test import *  # flake8: noqa
from ..lib.paths import TMP_BUILDDIR

INSTALLED_APPS = INSTALLED_APPS + ('django_extensions', )

INSTALLED_APPS = INSTALLED_APPS + ('south',)
SKIP_SOUTH_TESTS = True
SOUTH_TESTS_MIGRATE = False

INSTALLED_APPS = INSTALLED_APPS + ('debug_toolbar', 'clothstream.demo')
MIDDLEWARE_CLASSES = MIDDLEWARE_CLASSES + (
    'debug_toolbar.middleware.DebugToolbarMiddleware',
)

if 'djangosecure.middleware.SecurityMiddleware' in MIDDLEWARE_CLASSES:
    MIDDLEWARE_CLASSES = list(MIDDLEWARE_CLASSES)
    MIDDLEWARE_CLASSES.remove('djangosecure.middleware.SecurityMiddleware')
    MIDDLEWARE_CLASSES = tuple(MIDDLEWARE_CLASSES)


MIDDLEWARE_CLASSES = MIDDLEWARE_CLASSES + (
     # so we can have django localhost:8000 and brunchwatch on localhost:3333
    'clothstream.lib.rest.AllowAllCrossOrigin',
)

SECRET_KEY = 'develop'

DEBUG = True<commit_msg>disable db-connection pooling when run local server<commit_after>""" use on local machine
"""
from ..settings.test import *  # flake8: noqa
from ..lib.paths import TMP_BUILDDIR

INSTALLED_APPS = INSTALLED_APPS + ('django_extensions', )

INSTALLED_APPS = INSTALLED_APPS + ('south',)
SKIP_SOUTH_TESTS = True
SOUTH_TESTS_MIGRATE = False

INSTALLED_APPS = INSTALLED_APPS + ('debug_toolbar', 'clothstream.demo')
MIDDLEWARE_CLASSES = MIDDLEWARE_CLASSES + (
    'debug_toolbar.middleware.DebugToolbarMiddleware',
)

if 'djangosecure.middleware.SecurityMiddleware' in MIDDLEWARE_CLASSES:
    MIDDLEWARE_CLASSES = list(MIDDLEWARE_CLASSES)
    MIDDLEWARE_CLASSES.remove('djangosecure.middleware.SecurityMiddleware')
    MIDDLEWARE_CLASSES = tuple(MIDDLEWARE_CLASSES)


MIDDLEWARE_CLASSES = MIDDLEWARE_CLASSES + (
     # so we can have django localhost:8000 and brunchwatch on localhost:3333
    'clothstream.lib.rest.AllowAllCrossOrigin',
)

if 'CONN_MAX_AGE' in DATABASES['default']:
    # The development server creates a new thread for each request it handles,
    # negating the effect of persistent connections. Don’t enable them during development.
    DATABASES['default']['CONN_MAX_AGE'] = 0


SECRET_KEY = 'develop'

DEBUG = True
{'fraction_non_alphanumeric': 0.09221501390176089, 'fraction_numerical': 0.008804448563484708, 'mean_word_length': 5.746875, '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': '7032100', 'n_tokens_mistral': 843, 'n_tokens_neox': 771, 'n_words': 148}