40 lines
908 B
Python
40 lines
908 B
Python
|
|
import os
|
||
|
|
from pathlib import Path
|
||
|
|
|
||
|
|
BASE_DIR = Path(__file__).resolve().parent.parent
|
||
|
|
|
||
|
|
SECRET_KEY = 'django-insecure-cloudmon-super-secret-key-dashboard'
|
||
|
|
DEBUG = True
|
||
|
|
ALLOWED_HOSTS = ['*'] # Für den Sandbox-Betrieb im Cluster absolut legitim
|
||
|
|
|
||
|
|
INSTALLED_APPS = [
|
||
|
|
'django.contrib.staticfiles',
|
||
|
|
'monitor',
|
||
|
|
]
|
||
|
|
|
||
|
|
MIDDLEWARE = [
|
||
|
|
'django.middleware.common.CommonMiddleware',
|
||
|
|
]
|
||
|
|
|
||
|
|
ROOT_URLCONF = 'core.urls'
|
||
|
|
|
||
|
|
TEMPLATES = [
|
||
|
|
{
|
||
|
|
'BACKEND': 'django.template.backends.django.DjangoTemplates',
|
||
|
|
'DIRS': [],
|
||
|
|
'APP_DIRS': True,
|
||
|
|
'OPTIONS': {
|
||
|
|
'context_processors': [
|
||
|
|
'django.template.context_processors.debug',
|
||
|
|
'django.template.context_processors.request',
|
||
|
|
],
|
||
|
|
},
|
||
|
|
},
|
||
|
|
]
|
||
|
|
|
||
|
|
WSGI_APPLICATION = 'core.wsgi.application'
|
||
|
|
|
||
|
|
DATABASES = {} # REINER IN-MEMORY PARSER: Wir brauchen keine lokale Datenbank!
|
||
|
|
|
||
|
|
STATIC_URL = 'static/'
|