<commit_before>"""
Django settings in development environment.
"""

# Imports
from __future__ import absolute_import
from .common import *

# Debug
# https://docs.djangoproject.com/en/1.6/ref/settings/#std:setting-DEBUG

DEBUG = True
TEMPLATE_DEBUG = DEBUG
SEND_BROKEN_LINK_EMAILS = False

# Database
# https://docs.djangoproject.com/en/1.6/ref/settings/#databases

DATABASES = {
    'default': {
        'ENGINE': 'django.db.backends.postgresql_psycopg2',
        'NAME': 'pod_brand',
        'USER': 'pod',
        'PASSWORD': '<PASSWORD>',
        'HOST': 'localhost',
        'PORT': '5432',
    }
}

# Static files (CSS, JavaScript, Images)
# https://docs.djangoproject.com/en/1.6/howto/static-files/

if SUBSITE:
    STATIC_URL = '/%s' % os.path.join(SUBSITE, *(STATIC_URL.split('/')))

# Compress configuration
# http://django-compressor.readthedocs.org/en/master/remote-storages/using-sta
# ticfiles

COMPRESS_URL = STATIC_URL
COMPRESS_ROOT = STATIC_ROOT
COMPRESS_OUTPUT_DIR = '/cache/'
COMPRESS_STORAGE = 'compressor.storage.CompressorFileStorage'<commit_msg>Most of us want to see the final result so we will use the images from POD. (Required for migrate 0015)<commit_after>"""
Django settings in development environment.
"""

# Imports
from __future__ import absolute_import
from .common import *

# Debug
# https://docs.djangoproject.com/en/1.6/ref/settings/#std:setting-DEBUG

DEBUG = True
TEMPLATE_DEBUG = DEBUG
SEND_BROKEN_LINK_EMAILS = False

# Database
# https://docs.djangoproject.com/en/1.6/ref/settings/#databases

DATABASES = {
    'default': {
        'ENGINE': 'django.db.backends.postgresql_psycopg2',
        'NAME': 'pod_brand',
        'USER': 'pod',
        'PASSWORD': 'pod',
        'HOST': 'localhost',
        'PORT': '5432',
    }
}

# Static files (CSS, JavaScript, Images)
# https://docs.djangoproject.com/en/1.6/howto/static-files/

if SUBSITE:
    STATIC_URL = '/%s' % os.path.join(SUBSITE, *(STATIC_URL.split('/')))

# Compress configuration
# http://django-compressor.readthedocs.org/en/master/remote-storages/using-sta
# ticfiles

COMPRESS_URL = STATIC_URL
COMPRESS_ROOT = STATIC_ROOT
COMPRESS_OUTPUT_DIR = '/cache/'
COMPRESS_STORAGE = 'compressor.storage.CompressorFileStorage'

MEDIA_URL = 'https://s3.amazonaws.com/product.okfn.org/brand/media/'
{'fraction_non_alphanumeric': 0.1472258628221931, 'fraction_numerical': 0.011795543905635648, 'mean_word_length': 3.9567099567099566, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, 'https://': 7, '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': '886130', 'n_tokens_mistral': 847, 'n_tokens_neox': 817, 'n_words': 145}