<commit_before>import os

import raven

from flamingo.settings.base import BaseSettings


class ProdSettings(BaseSettings):

    DEBUG = False
    ALLOWED_HOSTS = ['*',] # Heroku handles this under the hood

    # Sentry
    @property
    def RAVEN_CONFIG(self):
        return {
            'dsn': 'https://{public_key}:{secret_key}@app.getsentry.com/{project_id}'.format(
                public_key='<KEY>',
                secret_key=os.environ['FLAMINGO_RAVEN_SECRET_KEY'],
                project_id='64150',
            ),
            'release': raven.fetch_git_sha(self.TOP_DIR),
        }<commit_msg>Removed release from RAVEN_CONFIG, not compatible with Heroku<commit_after>import os

import raven

from flamingo.settings.base import BaseSettings


class ProdSettings(BaseSettings):

    DEBUG = False
    ALLOWED_HOSTS = ['*',] # Heroku handles this under the hood

    # Sentry
    @property
    def RAVEN_CONFIG(self):
        return {
            'dsn': 'https://{public_key}:{secret_key}@app.getsentry.com/{project_id}'.format(
                public_key='<KEY>',
                secret_key=os.environ['FLAMINGO_RAVEN_SECRET_KEY'],
                project_id='64150',
            ),
        }
{'fraction_non_alphanumeric': 0.11359867330016583, 'fraction_numerical': 0.008291873963515755, 'mean_word_length': 2.5292397660818713, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 2, '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': '228005', 'n_tokens_mistral': 395, 'n_tokens_neox': 375, 'n_words': 67}