You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
1.0 KiB
34 lines
1.0 KiB
# -*- coding: utf-8 -*-
|
|
from settings import *
|
|
|
|
DEBUG = False
|
|
TEMPLATE_DEBUG = DEBUG
|
|
|
|
ADMINS = (
|
|
('andrey.goo', 'andrey.goo@gmail.com'),
|
|
)
|
|
|
|
MANAGERS = ADMINS
|
|
|
|
ALLOWED_HOSTS = ['pensionnyj-fond.ru']
|
|
|
|
DATABASES = {
|
|
'default': {
|
|
'ENGINE': 'django.db.backends.postgresql_psycopg2', # Add 'postgresql_psycopg2', 'mysql', 'sqlite3' or 'oracle'.
|
|
'NAME': 'pensfond', # Or path to database file if using sqlite3.
|
|
'USER': 'pensfond', # Not used with sqlite3.
|
|
'PASSWORD': 'pensfond', # Not used with sqlite3.
|
|
'HOST': '', # Set to empty string for localhost. Not used with sqlite3.
|
|
'PORT': '', # Set to empty string for default. Not used with sqlite3.
|
|
}
|
|
}
|
|
|
|
# redefine secret_key if needed
|
|
#SECRET_KEY = 'wz6&*s4kz^%v8o4^v0wg*owh94!bocb!s-ubu87qzfea&kqwsq'
|
|
|
|
# email settings
|
|
EMAIL_HOST = 'smtp.gmail.com'
|
|
EMAIL_PORT = 587
|
|
EMAIL_HOST_USER = 'DEFINE EMAIL!'
|
|
EMAIL_HOST_PASSWORD = 'DEFINE PASSWORD!'
|
|
EMAIL_USE_TLS = True
|
|
|