| IITkaGyan v0.9 A platform for students to ask their doubts to IITians directly...

Variables
IITKaGyan.settings Namespace Reference

## Variables
| LOGIN_URL = reverse_lazy('login')
| BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
string | SECRET_KEY = 'k%yks6yts53*mx^a4j&7vpy3vhc56n1e)l3r5c_6abpvn-2)g!'
bool | DEBUG = True
list | ALLOWED_HOSTS = []
list | INSTALLED_APPS
list | MIDDLEWARE
string | ROOT_URLCONF = 'IITKaGyan.urls'
list | TEMPLATES
string | WSGI_APPLICATION = 'IITKaGyan.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 | STATIC_URL = '/static/'
list | STATICFILES_DIRS
| STATIC_ROOT = os.path.join(BASE_DIR,'assets')
string | EMAIL_HOST = 'smtp.gmail.com'
int | EMAIL_PORT = 587
string | EMAIL_HOST_USER = 'IITKaGyan@gmail.com'
string | EMAIL_HOST_PASSWORD = 'IITKaGyan@1234'
bool | EMAIL_USE_TLS = True
bool | EMAIL_USE_SSL = False
string | DEFAULT_FROM_EMAIL = 'IITKaGyan Team <noreply@example.com>'
string | EMAIL_ACTIVE_FIELD = 'is_active'
string | EMAIL_SERVER = 'smtp.gmail.com'
string | EMAIL_ADDRESS = 'IITKaGyan@gmail.com'
string | EMAIL_FROM_ADDRESS = 'noreply@example.com'
string | EMAIL_PASSWORD = 'IITKaGyan@1234'
string | EMAIL_MAIL_SUBJECT = 'Confirm your email'
string | EMAIL_MAIL_HTML = 'mail_body.html'
string | EMAIL_MAIL_PLAIN = 'mail_body.txt'
string | EMAIL_PAGE_TEMPLATE = 'confirm_template.html'
string | EMAIL_PAGE_DOMAIN = 'http://127.0.0.1:8000/'

## Detailed Description

    Django settings for IITKaGyan project.

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

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

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

## Variable Documentation

## ◆ ALLOWED_HOSTS

list IITKaGyan.settings.ALLOWED_HOSTS = []

## ◆ AUTH_PASSWORD_VALIDATORS

list IITKaGyan.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 ]

## ◆ BASE_DIR

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

## ◆ DATABASES

dictionary IITKaGyan.settings.DATABASES

Initial value:
1 = {
2 'default': {
3 'ENGINE': 'django.db.backends.sqlite3',
4 'NAME': os.path.join(BASE_DIR, 'db.sqlite3'),
5 }
6 }

## ◆ DEBUG

bool IITKaGyan.settings.DEBUG = True

## ◆ DEFAULT_FROM_EMAIL

string IITKaGyan.settings.DEFAULT_FROM_EMAIL = 'IITKaGyan Team <noreply@example.com>'

## ◆ EMAIL_ACTIVE_FIELD

string IITKaGyan.settings.EMAIL_ACTIVE_FIELD = 'is_active'

## ◆ EMAIL_ADDRESS

string IITKaGyan.settings.EMAIL_ADDRESS = 'IITKaGyan@gmail.com'

## ◆ EMAIL_FROM_ADDRESS

string IITKaGyan.settings.EMAIL_FROM_ADDRESS = 'noreply@example.com'

## ◆ EMAIL_HOST

string IITKaGyan.settings.EMAIL_HOST = 'smtp.gmail.com'

## ◆ EMAIL_HOST_PASSWORD

string IITKaGyan.settings.EMAIL_HOST_PASSWORD = 'IITKaGyan@1234'

## ◆ EMAIL_HOST_USER

string IITKaGyan.settings.EMAIL_HOST_USER = 'IITKaGyan@gmail.com'

## ◆ EMAIL_MAIL_HTML

string IITKaGyan.settings.EMAIL_MAIL_HTML = 'mail_body.html'

## ◆ EMAIL_MAIL_PLAIN

string IITKaGyan.settings.EMAIL_MAIL_PLAIN = 'mail_body.txt'

## ◆ EMAIL_MAIL_SUBJECT

string IITKaGyan.settings.EMAIL_MAIL_SUBJECT = 'Confirm your email'

## ◆ EMAIL_PAGE_DOMAIN

string IITKaGyan.settings.EMAIL_PAGE_DOMAIN = 'http://127.0.0.1:8000/'

## ◆ EMAIL_PAGE_TEMPLATE

string IITKaGyan.settings.EMAIL_PAGE_TEMPLATE = 'confirm_template.html'

## ◆ EMAIL_PASSWORD

string IITKaGyan.settings.EMAIL_PASSWORD = 'IITKaGyan@1234'

## ◆ EMAIL_PORT

int IITKaGyan.settings.EMAIL_PORT = 587

## ◆ EMAIL_SERVER

string IITKaGyan.settings.EMAIL_SERVER = 'smtp.gmail.com'

## ◆ EMAIL_USE_SSL

bool IITKaGyan.settings.EMAIL_USE_SSL = False

## ◆ EMAIL_USE_TLS

bool IITKaGyan.settings.EMAIL_USE_TLS = True

## ◆ INSTALLED_APPS

list IITKaGyan.settings.INSTALLED_APPS

Initial value:
1 = [
2 'gyans.apps.GyansConfig',
3 'accounts.apps.AccountsConfig',
4 'django.contrib.admin',
5 'django.contrib.auth',
6 'django.contrib.contenttypes',
7 'django.contrib.sessions',
8 'django.contrib.messages',
9 'django.contrib.staticfiles',
10 'django_email_verification',
11 ]

## ◆ LANGUAGE_CODE

string IITKaGyan.settings.LANGUAGE_CODE = 'en-us'

## ◆ LOGIN_URL

IITKaGyan.settings.LOGIN_URL = reverse_lazy('login')

## ◆ MIDDLEWARE

list IITKaGyan.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 ]

## ◆ ROOT_URLCONF

string IITKaGyan.settings.ROOT_URLCONF = 'IITKaGyan.urls'

## ◆ SECRET_KEY

string IITKaGyan.settings.SECRET_KEY = 'k%yks6yts53*mx^a4j&7vpy3vhc56n1e)l3r5c_6abpvn-2)g!'

## ◆ STATIC_ROOT

IITKaGyan.settings.STATIC_ROOT = os.path.join(BASE_DIR,'assets')

## ◆ STATIC_URL

string IITKaGyan.settings.STATIC_URL = '/static/'

## ◆ STATICFILES_DIRS

list IITKaGyan.settings.STATICFILES_DIRS

Initial value:
1 = [
2 os.path.join(BASE_DIR,'static'),
3
4 ]

## ◆ TEMPLATES

list IITKaGyan.settings.TEMPLATES

Initial value:
1 = [
2 {
3 'BACKEND': 'django.template.backends.django.DjangoTemplates',
4 'DIRS': [os.path.join(BASE_DIR,'templates')],
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 ]

## ◆ TIME_ZONE

string IITKaGyan.settings.TIME_ZONE = 'UTC'

## ◆ USE_I18N

bool IITKaGyan.settings.USE_I18N = True

## ◆ USE_L10N

bool IITKaGyan.settings.USE_L10N = True

## ◆ USE_TZ

bool IITKaGyan.settings.USE_TZ = True

## ◆ WSGI_APPLICATION

string IITKaGyan.settings.WSGI_APPLICATION = 'IITKaGyan.wsgi.application'