<commit_before>import os
from .default import *  # nopep8


DEBUG = False
TEMPLATE_DEBUG = DEBUG

REST_FRAMEWORK.update({
    'DEFAULT_RENDERER_CLASSES': (
        'rest_framework.renderers.JSONRenderer',
    )
})


DATABASES['default'].update({
    'NAME': 'allmychanges',
})

GRAPHITE_PREFIX = 'allmychanges'

ALLOWED_HOSTS = ['allmychanges.com']

METRIKA_ID = '22434466'
ANALYTICS_ID = 'UA-49927178-1'

LOG_FILENAME = '/var/log/allmychanges/django-root.log'
init_logging(LOG_FILENAME, logstash=True)


if not os.path.exists(TEMP_DIR):
    os.makedirs(TEMP_DIR)<commit_msg>Allow localhost.<commit_after>import os
from .default import *  # nopep8


DEBUG = False
TEMPLATE_DEBUG = DEBUG

REST_FRAMEWORK.update({
    'DEFAULT_RENDERER_CLASSES': (
        'rest_framework.renderers.JSONRenderer',
    )
})


DATABASES['default'].update({
    'NAME': 'allmychanges',
})

GRAPHITE_PREFIX = 'allmychanges'

ALLOWED_HOSTS = ['allmychanges.com', 'localhost']

METRIKA_ID = '22434466'
ANALYTICS_ID = 'UA-49927178-1'

LOG_FILENAME = '/var/log/allmychanges/django-root.log'
init_logging(LOG_FILENAME, logstash=True)


if not os.path.exists(TEMP_DIR):
    os.makedirs(TEMP_DIR)
{'fraction_non_alphanumeric': 0.13379073756432247, 'fraction_numerical': 0.030874785591766724, 'mean_word_length': 4.893939393939394, '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': '5982853', 'n_tokens_mistral': 494, 'n_tokens_neox': 451, 'n_words': 65}