moodleNotifer
Variables
moodleNotifier.settings Namespace Reference

Variables

 BASE_DIR = Path(__file__).resolve().parent.parent
 
string SECRET_KEY = 'u630&&w(_x#)qcz6z!ybi_84*u*132%1obnyueh07(8tiwssae'
 
bool DEBUG = True
 
list ALLOWED_HOSTS = ['a4c3e59c5aac.ngrok.io','moodlenotifier.herokuapp.com','127.0.0.1']
 
list INSTALLED_APPS
 
list MIDDLEWARE
 
string ROOT_URLCONF = 'moodleNotifier.urls'
 
list TEMPLATES
 
string WSGI_APPLICATION = 'moodleNotifier.wsgi.application'
 
dictionary DATABASES
 
list AUTH_PASSWORD_VALIDATORS
 
string LANGUAGE_CODE = 'en-us'
 
string TIME_ZONE = 'UTC'
 
bool USE_I18N = True
 
bool USE_L10N = True
 
bool USE_TZ = True
 
string CRISPY_TEMPLATE_PACK = "bootstrap4"
 
string STATIC_URL = '/static/'
 

Detailed Description

Django settings for moodleNotifier project.

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

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

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

Variable Documentation

◆ AUTH_PASSWORD_VALIDATORS

list moodleNotifier.settings.AUTH_PASSWORD_VALIDATORS
Initial value:
1 = [
2  {
3  'NAME': 'django.contrib.auth.password_validation.UserAttributeSimilarityValidator',
4  },
5  {
6  'NAME': 'django.contrib.auth.password_validation.MinimumLengthValidator',
7  },
8  {
9  'NAME': 'django.contrib.auth.password_validation.CommonPasswordValidator',
10  },
11  {
12  'NAME': 'django.contrib.auth.password_validation.NumericPasswordValidator',
13  },
14 ]

Definition at line 89 of file settings.py.

◆ DATABASES

dictionary moodleNotifier.settings.DATABASES
Initial value:
1 = {
2  'default': {
3  'ENGINE': 'django.db.backends.sqlite3',
4  'NAME': BASE_DIR / 'db.sqlite3',
5  }
6 }

Definition at line 78 of file settings.py.

◆ INSTALLED_APPS

list moodleNotifier.settings.INSTALLED_APPS
Initial value:
1 = [
2  'django.contrib.admin',
3  'django.contrib.auth',
4  'django.contrib.contenttypes',
5  'django.contrib.sessions',
6  'django.contrib.messages',
7  'django.contrib.staticfiles',
8  'crispy_forms',
9  'main.apps.MainConfig',
10 ]

Definition at line 33 of file settings.py.

◆ MIDDLEWARE

list moodleNotifier.settings.MIDDLEWARE
Initial value:
1 = [
2  'django.middleware.security.SecurityMiddleware',
3  'django.contrib.sessions.middleware.SessionMiddleware',
4  'django.middleware.common.CommonMiddleware',
5  'django.middleware.csrf.CsrfViewMiddleware',
6  'django.contrib.auth.middleware.AuthenticationMiddleware',
7  'django.contrib.messages.middleware.MessageMiddleware',
8  'django.middleware.clickjacking.XFrameOptionsMiddleware',
9 ]

Definition at line 44 of file settings.py.

◆ TEMPLATES

list moodleNotifier.settings.TEMPLATES
Initial value:
1 = [
2  {
3  'BACKEND': 'django.template.backends.django.DjangoTemplates',
4  'DIRS': [],
5  'APP_DIRS': True,
6  'OPTIONS': {
7  'context_processors': [
8  'django.template.context_processors.debug',
9  'django.template.context_processors.request',
10  'django.contrib.auth.context_processors.auth',
11  'django.contrib.messages.context_processors.messages',
12  ],
13  },
14  },
15 ]

Definition at line 56 of file settings.py.