|
|
@ -10,27 +10,17 @@ For the full list of settings and their values, see |
|
|
|
https://docs.djangoproject.com/en/4.1/ref/settings/ |
|
|
|
https://docs.djangoproject.com/en/4.1/ref/settings/ |
|
|
|
""" |
|
|
|
""" |
|
|
|
|
|
|
|
|
|
|
|
from pathlib import Path |
|
|
|
|
|
|
|
from os import path |
|
|
|
from .private_settings import * |
|
|
|
import dotenv |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Build paths inside the project like this: BASE_DIR / 'subdir'. |
|
|
|
# Build paths inside the project like this: BASE_DIR / 'subdir'. |
|
|
|
from django.urls import reverse |
|
|
|
from django.urls import reverse |
|
|
|
|
|
|
|
|
|
|
|
BASE_DIR = Path(__file__).resolve().parent.parent |
|
|
|
|
|
|
|
env_file = path.join(BASE_DIR, '.env') |
|
|
|
|
|
|
|
dotenv.read_dotenv(env_file) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Quick-start development settings - unsuitable for production |
|
|
|
# Quick-start development settings - unsuitable for production |
|
|
|
# See https://docs.djangoproject.com/en/4.1/howto/deployment/checklist/ |
|
|
|
# See https://docs.djangoproject.com/en/4.1/howto/deployment/checklist/ |
|
|
|
|
|
|
|
|
|
|
|
# SECURITY WARNING: keep the secret key used in production secret! |
|
|
|
|
|
|
|
SECRET_KEY = 'django-insecure-kwt7g7603)dmr(3r0*a-@ctj(id0*sm4x0jv8gu5h0_r)#!(tg' |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# SECURITY WARNING: don't run with debug turned on in production! |
|
|
|
|
|
|
|
DEBUG = True |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ALLOWED_HOSTS = [] |
|
|
|
ALLOWED_HOSTS = [] |
|
|
|
|
|
|
|
|
|
|
|
LOGIN_URL = '/cms/' |
|
|
|
LOGIN_URL = '/cms/' |
|
|
|