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

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

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

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

# Build paths inside the project like this: os.path.join(BASE_DIR, ...)
import os

BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))


from passwords import GITHUB_SECRET_KEY
SECRET_KEY = GITHUB_SECRET_KEY

DEBUG = False

ALLOWED_HOSTS = []


# Application definition

INSTALLED_APPS = (
    'django.contrib.admin',
    'django.contrib.auth',
    'django.contrib.contenttypes',<commit_msg>fix debug=false issue and improve security by setting allowed_hosts in settings.py<commit_after>"""
Django settings for COMP204P project.

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

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

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

# Build paths inside the project like this: os.path.join(BASE_DIR, ...)
import os

BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))


from passwords import GITHUB_SECRET_KEY
SECRET_KEY = GITHUB_SECRET_KEY

DEBUG = False

ALLOWED_HOSTS = ['127.0.0.1', 'localhost', 'studvm28-p.cs.ucl.ac.uk']


# Application definition

INSTALLED_APPS = (
    'django.contrib.admin',
    'django.contrib.auth',
    'django.contrib.contenttypes',
{'fraction_non_alphanumeric': 0.11964735516372796, 'fraction_numerical': 0.017632241813602016, 'mean_word_length': 4.441780821917808, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 1, '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': '1516985', 'n_tokens_mistral': 572, 'n_tokens_neox': 540, 'n_words': 130}