Guest User

Untitled

a guest
Feb 16th, 2017
40
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.93 KB | None | 0 0
  1. DATABASES = {
  2.     'default': {
  3.         'ENGINE': 'django.db.backends.postgresql',
  4.         'NAME': 'cp',
  5.         'USER': 'cp',
  6.         'PASSWORD': 'cp',
  7.         'HOST': 'localhost',
  8.         'PORT': '5432'
  9.     },
  10.     'legacy': {
  11.         'NAME': 'k2_cms',
  12.         'ENGINE': 'django.db.backends.mysql',
  13.         'USER': 'promoship',
  14.         'PASSWORD': 'VeHtYz5ru2AbkifzZReQ',
  15.         'HOST': 'backend.caffeprint.com',
  16.         'PORT': '13306',
  17.         'OPTIONS': {
  18.             'init_command': 'SET sql_mode=STRICT_TRANS_TABLES',
  19.         }
  20.     }
  21. }
  22.  
  23. # Only for server
  24. DEBUG = False
  25. ALLOWED_HOSTS = ['localhost', '127.0.0.1', 'backend.caffeprint.com']
  26. SECURE_PROXY_SSL_HEADER = ('HTTP_X_FORWARDED_PROTO', 'https')
  27. PUBLIC_URL = 'https://caffeprint.com'
  28.  
  29. EMAIL_HOST = 'smtp.mailtrap.io'
  30. EMAIL_PORT = 25
  31. EMAIL_HOST_USER = '41618658f40f94c09'
  32. EMAIL_HOST_PASSWORD = '1b4f244a54d5d6'
  33. DEFAULT_FROM_EMAIL = 'jgorczyca@poligrafia.com.pl'
Add Comment
Please, Sign In to add comment