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

Generated by 'django-admin startproject' using Django 1.10.4.

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

For the full list of settings and their values, see
https://docs.djangoproject.com/en/1.10/ref/settings/
"""

import os,sys
from os.path import join, dirname
# from dotenv import load_dotenv
# Build paths inside the project like this: os.path.join(BASE_DIR, ...)
# BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
# dotenv_path = join(dirname(__file__), '.env')

# load_dotenv(dotenv_path)

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

# SECURITY WARNING: keep the secret key used in production secret!
SECRET_KEY = os.environ["MY_SECRET_KEY"]
PUB_ID = os.environ["PUB_ID"]
JOB_SCAN_PW = os.environ["JOB_SCAN_PW"]
# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = True

ALLOWED_HOSTS = []

SESSION_SERIALIZER = 'django.contrib.sessions.serializers.PickleSerializer'
# Application definition

# MODE = "development"
# try:
#     sys.argv[1] == 'runserver'
# except IndexError:
#     MODE = "production"
<commit_msg>adds my eb website to allowed hosts<commit_after>"""
Django settings for qually_dj project.

Generated by 'django-admin startproject' using Django 1.10.4.

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

For the full list of settings and their values, see
https://docs.djangoproject.com/en/1.10/ref/settings/
"""

import os,sys
from os.path import join, dirname
# from dotenv import load_dotenv
# Build paths inside the project like this: os.path.join(BASE_DIR, ...)
# BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
# dotenv_path = join(dirname(__file__), '.env')

# load_dotenv(dotenv_path)

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

# SECURITY WARNING: keep the secret key used in production secret!
SECRET_KEY = os.environ["MY_SECRET_KEY"]
PUB_ID = os.environ["PUB_ID"]
JOB_SCAN_PW = os.environ["JOB_SCAN_PW"]
# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = True

ALLOWED_HOSTS = ['qually-dev.us-west-2.elasticbeanstalk.com']

SESSION_SERIALIZER = 'django.contrib.sessions.serializers.PickleSerializer'
# Application definition

# MODE = "development"
# try:
#     sys.argv[1] == 'runserver'
# except IndexError:
#     MODE = "production"

{'fraction_non_alphanumeric': 0.12130518234165068, 'fraction_numerical': 0.011132437619961612, 'mean_word_length': 4.909297052154195, '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': '1267146', 'n_tokens_mistral': 931, 'n_tokens_neox': 894, 'n_words': 221}