|
|
@ -1,13 +1,13 @@
|
|
|
|
"""
|
|
|
|
"""
|
|
|
|
Django settings for etesync_server project.
|
|
|
|
Django settings for etesync_server project.
|
|
|
|
|
|
|
|
|
|
|
|
Generated by 'django-admin startproject' using Django 1.10.6.
|
|
|
|
Generated by 'django-admin startproject' using Django 2.0.5.
|
|
|
|
|
|
|
|
|
|
|
|
For more information on this file, see
|
|
|
|
For more information on this file, see
|
|
|
|
https://docs.djangoproject.com/en/1.10/topics/settings/
|
|
|
|
https://docs.djangoproject.com/en/2.0/topics/settings/
|
|
|
|
|
|
|
|
|
|
|
|
For the full list of settings and their values, see
|
|
|
|
For the full list of settings and their values, see
|
|
|
|
https://docs.djangoproject.com/en/1.10/ref/settings/
|
|
|
|
https://docs.djangoproject.com/en/2.0/ref/settings/
|
|
|
|
"""
|
|
|
|
"""
|
|
|
|
|
|
|
|
|
|
|
|
import os
|
|
|
|
import os
|
|
|
@ -18,7 +18,7 @@ BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Quick-start development settings - unsuitable for production
|
|
|
|
# Quick-start development settings - unsuitable for production
|
|
|
|
# See https://docs.djangoproject.com/en/1.10/howto/deployment/checklist/
|
|
|
|
# See https://docs.djangoproject.com/en/2.0/howto/deployment/checklist/
|
|
|
|
|
|
|
|
|
|
|
|
# SECURITY WARNING: keep the secret key used in production secret!
|
|
|
|
# SECURITY WARNING: keep the secret key used in production secret!
|
|
|
|
# See secret.py for how this is generated; uses a file 'secret.txt' in the root
|
|
|
|
# See secret.py for how this is generated; uses a file 'secret.txt' in the root
|
|
|
@ -77,7 +77,7 @@ WSGI_APPLICATION = 'etesync_server.wsgi.application'
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Database
|
|
|
|
# Database
|
|
|
|
# https://docs.djangoproject.com/en/1.10/ref/settings/#databases
|
|
|
|
# https://docs.djangoproject.com/en/2.0/ref/settings/#databases
|
|
|
|
|
|
|
|
|
|
|
|
DATABASES = {
|
|
|
|
DATABASES = {
|
|
|
|
'default': {
|
|
|
|
'default': {
|
|
|
@ -89,26 +89,26 @@ DATABASES = {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Password validation
|
|
|
|
# Password validation
|
|
|
|
# https://docs.djangoproject.com/en/1.10/ref/settings/#auth-password-validators
|
|
|
|
# https://docs.djangoproject.com/en/2.0/ref/settings/#auth-password-validators
|
|
|
|
|
|
|
|
|
|
|
|
AUTH_PASSWORD_VALIDATORS = [
|
|
|
|
AUTH_PASSWORD_VALIDATORS = [
|
|
|
|
{
|
|
|
|
{
|
|
|
|
'NAME': 'django.contrib.auth.password_validation.UserAttributeSimilarityValidator', # noqa
|
|
|
|
'NAME': 'django.contrib.auth.password_validation.UserAttributeSimilarityValidator',
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
'NAME': 'django.contrib.auth.password_validation.MinimumLengthValidator', # noqa
|
|
|
|
'NAME': 'django.contrib.auth.password_validation.MinimumLengthValidator',
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
'NAME': 'django.contrib.auth.password_validation.CommonPasswordValidator', # noqa
|
|
|
|
'NAME': 'django.contrib.auth.password_validation.CommonPasswordValidator',
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
'NAME': 'django.contrib.auth.password_validation.NumericPasswordValidator', # noqa
|
|
|
|
'NAME': 'django.contrib.auth.password_validation.NumericPasswordValidator',
|
|
|
|
},
|
|
|
|
},
|
|
|
|
]
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Internationalization
|
|
|
|
# Internationalization
|
|
|
|
# https://docs.djangoproject.com/en/1.10/topics/i18n/
|
|
|
|
# https://docs.djangoproject.com/en/2.0/topics/i18n/
|
|
|
|
|
|
|
|
|
|
|
|
LANGUAGE_CODE = 'en-us'
|
|
|
|
LANGUAGE_CODE = 'en-us'
|
|
|
|
|
|
|
|
|
|
|
@ -122,7 +122,7 @@ USE_TZ = True
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Static files (CSS, JavaScript, Images)
|
|
|
|
# Static files (CSS, JavaScript, Images)
|
|
|
|
# https://docs.djangoproject.com/en/1.10/howto/static-files/
|
|
|
|
# https://docs.djangoproject.com/en/2.0/howto/static-files/
|
|
|
|
|
|
|
|
|
|
|
|
STATIC_URL = '/static/'
|
|
|
|
STATIC_URL = '/static/'
|
|
|
|
|
|
|
|
|
|
|
|