<commit_before>from .base import *

# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = True
TEMPLATE_DEBUG = True

# NOTE: config for local (osx) Postgresql.app (not vagrant)
#DATABASES = {
    #'default': {
        #'ENGINE': 'django.db.backends.postgresql_psycopg2',
        #'NAME': 'tndata',
        #'USER': 'brad',
        #'PASSWORD': '',
        #'HOST': '127.0.0.1',
        #'PORT': '5432',
    #}
#}


INSTALLED_APPS = INSTALLED_APPS + (
    'debug_toolbar',
)

# Media Uploads for Development
# NOTE. during dev, cd into uploads and run `serve 8888`
MEDIA_ROOT = os.path.join(BASE_DIR, 'uploads')
MEDIA_URL = "http://localhost:8888/"

# django-core-headers
# https://github.com/ottoyiu/django-cors-headers/
CORS_ORIGIN_ALLOW_ALL = True

# Rainbow-tests
TEST_RUNNER = 'rainbowtests.test.runner.RainbowDiscoverRunner'<commit_msg>removing local db settings and simplifying media url<commit_after>from .base import *

# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = True
TEMPLATE_DEBUG = True

INSTALLED_APPS = INSTALLED_APPS + (
    'debug_toolbar',
)

# Media Uploads for Development
# NOTE. during dev, cd into uploads and run `serve 8888`
MEDIA_ROOT = os.path.join(BASE_DIR, 'uploads')
MEDIA_URL = "/media/"

# django-core-headers
# https://github.com/ottoyiu/django-cors-headers/
CORS_ORIGIN_ALLOW_ALL = True

# Rainbow-tests
TEST_RUNNER = 'rainbowtests.test.runner.RainbowDiscoverRunner'
{'fraction_non_alphanumeric': 0.1296551724137931, 'fraction_numerical': 0.015862068965517243, 'mean_word_length': 4.109154929577465, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 1, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1880564', 'n_tokens_mistral': 549, 'n_tokens_neox': 517, 'n_words': 119}