<commit_before>
# This file contains settings for the Heroku production server

from .base import *
import os

# Parse database configuration from $DATABASE_URL in heroku environment
import dj_database_url
DATABASES['default'] = dj_database_url.config()

# Honor the 'X-Forwarded-Proto' header for request.is_secure()
SECURE_PROXY_SSL_HEADER = ('HTTP_X_FORWARDED_PROTO', 'https')

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

DEBUG = True<commit_msg>Fix database settings for Heroku #85<commit_after>
# This file contains settings for the Heroku production server

from .base import *
import os

# Parse database configuration from $DATABASE_URL in heroku environment
import dj_database_url
DATABASES = {'default': dj_database_url.config()}

# Honor the 'X-Forwarded-Proto' header for request.is_secure()
SECURE_PROXY_SSL_HEADER = ('HTTP_X_FORWARDED_PROTO', 'https')

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

DEBUG = True
{'fraction_non_alphanumeric': 0.08807733619763695, 'fraction_numerical': 0.0021482277121374865, 'mean_word_length': 6.114503816793893, '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': '2969428', 'n_tokens_mistral': 293, 'n_tokens_neox': 294, 'n_words': 91}