<commit_before>"""
Django settings for webapp project.

For more information on this file, see
https://docs.djangoproject.com/en/1.7/topics/settings/

For the full list of settings and their values, see
https://docs.djangoproject.com/en/1.7/ref/settings/
"""
# Honor the 'X-Forwarded-Proto' header for request.is_secure()
SECURE_PROXY_SSL_HEADER = ('HTTP_X_FORWARDED_PROTO', 'https')

import os

SECRET_KEY = os.environ.get('SECRET_KEY', 'secret key')
SITE_ID = os.environ.get('SITE_ID', 1)

# Allow all host headers
ALLOWED_HOSTS = ['*']

SITE_ID = 1

# Build paths inside the project like this: os.path.join(BASE_DIR, ...)
import dj_database_url
BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))


# Quick-start development settings - unsuitable for production
# See https://docs.djangoproject.com/en/1.7/howto/deployment/checklist/

# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = True if os.environ.get('DEV_DEBUG') == 'True' else False

TEMPLATE_DEBUG = DEBUG

TEMPLATE_DIRS = (
    (BASE_DIR + '/templates/'),
)

from django.conf import global_settings

WEBAPP_VERSION = "1.2.0"

TEMPLATE_CONTEXT_PROCESSORS = global_settings.TEMPLATE_CONTEXT_PROCESSORS + (
    'webapp.apps.pages.views.settings_context_processor',
    'webapp.context_processors.google_analytics',
)

# Application definition

INSTALLED_APPS = (
    'django.contrib.admin',
    'django.contrib.auth',
    'django.contrib.contenttypes',
    'django.contrib.humanize',
    'django.contrib.sessions',
    'django.contrib.messages',
    'django.contrib.staticfiles',
    'django.contrib.sites',

    # Apps
    'webapp.apps.taxbrain',
    'webapp.apps.dynamic',
    'webapp.apps.pages',
    'webapp.apps.register',
    'webapp.apps.btax',

    # Third party apps
    'flatblocks',
    'account',
    'gunicorn',
    'hermes',<commit_msg>Update hardcoded version to 1.2.1<commit_after>"""
Django settings for webapp project.

For more information on this file, see
https://docs.djangoproject.com/en/1.7/topics/settings/

For the full list of settings and their values, see
https://docs.djangoproject.com/en/1.7/ref/settings/
"""
# Honor the 'X-Forwarded-Proto' header for request.is_secure()
SECURE_PROXY_SSL_HEADER = ('HTTP_X_FORWARDED_PROTO', 'https')

import os

SECRET_KEY = os.environ.get('SECRET_KEY', 'secret key')
SITE_ID = os.environ.get('SITE_ID', 1)

# Allow all host headers
ALLOWED_HOSTS = ['*']

SITE_ID = 1

# Build paths inside the project like this: os.path.join(BASE_DIR, ...)
import dj_database_url
BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))


# Quick-start development settings - unsuitable for production
# See https://docs.djangoproject.com/en/1.7/howto/deployment/checklist/

# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = True if os.environ.get('DEV_DEBUG') == 'True' else False

TEMPLATE_DEBUG = DEBUG

TEMPLATE_DIRS = (
    (BASE_DIR + '/templates/'),
)

from django.conf import global_settings

WEBAPP_VERSION = "1.2.1"

TEMPLATE_CONTEXT_PROCESSORS = global_settings.TEMPLATE_CONTEXT_PROCESSORS + (
    'webapp.apps.pages.views.settings_context_processor',
    'webapp.context_processors.google_analytics',
)

# Application definition

INSTALLED_APPS = (
    'django.contrib.admin',
    'django.contrib.auth',
    'django.contrib.contenttypes',
    'django.contrib.humanize',
    'django.contrib.sessions',
    'django.contrib.messages',
    'django.contrib.staticfiles',
    'django.contrib.sites',

    # Apps
    'webapp.apps.taxbrain',
    'webapp.apps.dynamic',
    'webapp.apps.pages',
    'webapp.apps.register',
    'webapp.apps.btax',

    # Third party apps
    'flatblocks',
    'account',
    'gunicorn',
    'hermes',
{'fraction_non_alphanumeric': 0.13304721030042918, 'fraction_numerical': 0.006706008583690987, 'mean_word_length': 4.171983356449376, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 6, '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': '5352160', 'n_tokens_mistral': 1332, 'n_tokens_neox': 1301, 'n_words': 255}