<commit_before># -*- coding: utf-8 -*-
'''
Production Configurations

- Use djangosecure
- Use Amazon's S3 for storing static files and uploaded media
- Use sendgird to sendemails
- Use MEMCACHIER on Heroku
'''
from configurations import values

# See: http://django-storages.readthedocs.org/en/latest/backends/amazon-S3.html#settings
# try:
#     from S3 import CallingFormat
#     AWS_CALLING_FORMAT = CallingFormat.SUBDOMAIN
# except ImportError:
#     # TODO: Fix this where even if in Dev this class is called.
#     pass

from .common import Common


class Production(Common):

#     # This ensures that Django will be able to detect a secure connection
#     # properly on Heroku.
#     SECURE_PROXY_SSL_HEADER = ('HTTP_X_FORWARDED_PROTO', 'https')
# 
#     # INSTALLED_APPS
#     INSTALLED_APPS = Common.INSTALLED_APPS
#     # END INSTALLED_APPS
# 
#     # SECRET KEY
#     SECRET_KEY = values.SecretValue()
#     # END SECRET KEY<commit_msg>Fixed config file error.<commit_after># -*- coding: utf-8 -*-
'''
Production Configurations

- Use djangosecure
- Use Amazon's S3 for storing static files and uploaded media
- Use sendgird to sendemails
- Use MEMCACHIER on Heroku
'''
from configurations import values

# See: http://django-storages.readthedocs.org/en/latest/backends/amazon-S3.html#settings
# try:
#     from S3 import CallingFormat
#     AWS_CALLING_FORMAT = CallingFormat.SUBDOMAIN
# except ImportError:
#     # TODO: Fix this where even if in Dev this class is called.
#     pass

from .common import Common


class Production(Common):

#     # This ensures that Django will be able to detect a secure connection
#     # properly on Heroku.
#     SECURE_PROXY_SSL_HEADER = ('HTTP_X_FORWARDED_PROTO', 'https')
# 
    # INSTALLED_APPS
    INSTALLED_APPS = Common.INSTALLED_APPS
    # END INSTALLED_APPS
# 
#     # SECRET KEY
#     SECRET_KEY = values.SecretValue()
#     # END SECRET KEY
{'fraction_non_alphanumeric': 0.09028871391076115, 'fraction_numerical': 0.004199475065616798, 'mean_word_length': 3.4952830188679247, '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': '3193377', 'n_tokens_mistral': 643, 'n_tokens_neox': 625, 'n_words': 180}