Commits

ronald martinez committed 71b5dd6

down conf

  • Participants
  • Parent commits 0084390

Comments (0)

Files changed (1)

-import os
 
-from jinja2 import Environment, FileSystemLoader
-from libs.filters import *
-
-DEBUG = False
-XSRF_COOKIES = False
-COOKIE_SECRET = 'YoCMtD3QSjmU2aKHlU8MZjZLmyXUeklOkjaWpNYihR4='
-
-LOGIN_URL = '/admin/login'
-
-_local_path = os.path.dirname(__file__)
-STATIC_PATH = os.path.join(_local_path, 'static')
-STATIC_URL_PREFIX = '/static/'
-
-TEMPLATE_ENV = Environment(
-    loader=FileSystemLoader(os.path.join(_local_path, 'templates'))
-)
-TEMPLATE_ENV.filters["format_date"] = format_date
-TEMPLATE_ENV.filters["bitwise_flag"] = bitwise_flag
-TEMPLATE_ENV.filters["format_number"] = format_number
-TEMPLATE_ENV.filters["num_str"] = num_str
-
-UPLOAD_PATH = os.path.join(STATIC_PATH, 'uploads')
-DOMAIN = 'http://creditohipotecariobcp.com'
-IMAGE_URL = DOMAIN + '/static/uploads/%s/%s%s'
-
-MONGO = {
-    'db': '',
-    'username': None,
-    'password': None,
-    'host': '127.0.0.1',
-    'port': 27017
-}
-
-EMAIL_CONFIG = {
-    'smtp_server': 'smtp.gmail.com',
-    'smtp_port': 587,
-    'smtp_password': '_circus__',
-    'smtp_username': 'requisitos@creditohipotecariobcp.com',
-    'from': 'requisitos@creditohipotecariobcp.com',
-}
-
-EMAIL_CONFIG_PRODUCT = {
-    'smtp_server': 'smtp.gmail.com',
-    'smtp_port': 587,
-    'smtp_password': '_circus__2',
-    'smtp_username': 'productos@creditohipotecariobcp.com',
-    'from': 'productos@creditohipotecariobcp.com',
-}
-
-PDF_ROOT = os.path.join(_local_path, 'pdf')
-
-CONTACT_EMAIL = 'hipotecariocanalinternet@bcp.com.pe'
-FROM_EMAIL_CREDITO = 'productos@creditohipotecariobcp.com'
-
-try:
-    from local_settings import *
-except ImportError:
-    pass