<commit_before>"""
Django settings for {{cookiecutter.project_title}} project.

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

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

import os

import environ


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

# Build paths inside the project like this: os.path.join(SITE_ROOT, ...)
SITE_ROOT = os.path.dirname(os.path.dirname(__file__))

# Load env to get settings
ROOT_DIR = environ.Path(SITE_ROOT)
env = environ.Env()

READ_DOT_ENV_FILE = env.bool("DJANGO_READ_DOT_ENV_FILE", default=True)
if READ_DOT_ENV_FILE:
    # OS environment variables take precedence over variables from .env
    # By default use django.env file from project root directory
    env.read_env(str(ROOT_DIR.path("django.env")))


# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = env.bool("DJANGO_DEBUG", default=True)

ADMINS = (("Admins", "{{ cookiecutter.admin_email }}"),)
MANAGERS = ADMINS
EMAIL_SUBJECT_PREFIX = "[{{cookiecutter.project_title}}] "  # subject prefix for managers & admins

SESSION_COOKIE_NAME = "{{ cookiecutter.repo_name }}_ssid"

INSTALLED_APPS = [
    # Local apps
    "accounts",
    "{{cookiecutter.repo_name}}",
{%- if cookiecutter.include_cms == "yes" %}
    # CMS apps
    "cms",
    "treebeard",
    "menus",
    "sekizai",
    "djangocms_admin_style",
    "reversion",
    "easy_thumbnails",
    "filer",
    "mptt",
    "djangocms_file",
    "djangocms_link",
    "djangocms_picture",<commit_msg>Remove reversion from installed apps<commit_after>"""
Django settings for {{cookiecutter.project_title}} project.

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

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

import os

import environ


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

# Build paths inside the project like this: os.path.join(SITE_ROOT, ...)
SITE_ROOT = os.path.dirname(os.path.dirname(__file__))

# Load env to get settings
ROOT_DIR = environ.Path(SITE_ROOT)
env = environ.Env()

READ_DOT_ENV_FILE = env.bool("DJANGO_READ_DOT_ENV_FILE", default=True)
if READ_DOT_ENV_FILE:
    # OS environment variables take precedence over variables from .env
    # By default use django.env file from project root directory
    env.read_env(str(ROOT_DIR.path("django.env")))


# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = env.bool("DJANGO_DEBUG", default=True)

ADMINS = (("Admins", "{{ cookiecutter.admin_email }}"),)
MANAGERS = ADMINS
EMAIL_SUBJECT_PREFIX = "[{{cookiecutter.project_title}}] "  # subject prefix for managers & admins

SESSION_COOKIE_NAME = "{{ cookiecutter.repo_name }}_ssid"

INSTALLED_APPS = [
    # Local apps
    "accounts",
    "{{cookiecutter.repo_name}}",
{%- if cookiecutter.include_cms == "yes" %}
    # CMS apps
    "cms",
    "treebeard",
    "menus",
    "sekizai",
    "djangocms_admin_style",
    "easy_thumbnails",
    "filer",
    "mptt",
    "djangocms_file",
    "djangocms_link",
    "djangocms_picture",
{'fraction_non_alphanumeric': 0.1273217495506291, 'fraction_numerical': 0.0, 'mean_word_length': 4.420454545454546, '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': '1464926', 'n_tokens_mistral': 1190, 'n_tokens_neox': 1151, 'n_words': 262}