"""
Django settings for vkusotiiki project.

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

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

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

from .base_settings import *


# Database
# https://docs.djangoproject.com/en/1.9/ref/settings/#databases
DATABASES = {
    'default': {
        'ENGINE':  'django.db.backends.postgresql_psycopg2',
        'NAME':    'd955nv8f746vem',
        'USER':     'aptaafqenmmjcs',
        'PASSWORD': '6ec1b9d6aea75876d9e421c0b6e994eb4d2b740e623d509e9eed90d08b20014e',
        'HOST': 'ec2-54-235-245-255.compute-1.amazonaws.com',
        # 'PORT': 3352  # mysql
        'PORT': 5432  # postgres
    }
}

# SECURITY WARNING: keep the secret key used in production secret!
SECRET_KEY = 'dn0#iyk_ct_@_c0o=u%%ow0^i=1-!&+d^6r_31sp4tf&r*f2%0'

# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = True

# Honor the 'X-Forwarded-Proto' header for request.is_secure()
SECURE_PROXY_SSL_HEADER = ('HTTP_X_FORWARDED_PROTO', 'https')

# Allow all host headers
ALLOWED_HOSTS = ['*']
# DJANGO_SETTINGS_MODULE = 'vkusotiiki.settings.live_settings'
# print(DJANGO_SETTINGS_MODULE)
"""
Django settings for vkusotiiki project.

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

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

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

from .base_settings import *


# Database
# https://docs.djangoproject.com/en/1.9/ref/settings/#databases
DATABASES = {
    'default': {
        'ENGINE':  'django.db.backends.postgresql_psycopg2',
        'NAME':    'd955nv8f746vem',
        'USER':     'aptaafqenmmjcs',
        'PASSWORD': '6ec1b9d6aea75876d9e421c0b6e994eb4d2b740e623d509e9eed90d08b20014e',
        'HOST': 'ec2-54-235-245-255.compute-1.amazonaws.com',
        # 'PORT': 3352  # mysql
        'PORT': 5432  # postgres
    }
}

# SECURITY WARNING: keep the secret key used in production secret!
SECRET_KEY = 'dn0#iyk_ct_@_c0o=u%%ow0^i=1-!&+d^6r_31sp4tf&r*f2%0'

# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = False

# Honor the 'X-Forwarded-Proto' header for request.is_secure()
SECURE_PROXY_SSL_HEADER = ('HTTP_X_FORWARDED_PROTO', 'https')

# Allow all host headers
ALLOWED_HOSTS = ['*']
# DJANGO_SETTINGS_MODULE = 'vkusotiiki.settings.live_settings'
# print(DJANGO_SETTINGS_MODULE)
Stop Debug mode