Advertisement
Guest User

Untitled

a guest
Aug 17th, 2017
112
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 1.16 KB | None | 0 0
  1. # Django settings for couponmap project for localhost environment
  2. from settings_common import *
  3.  
  4. #DEBUG = True
  5. DEBUG = False
  6. TEMPLATE_DEBUG = DEBUG
  7.  
  8. VERBOSE = True
  9.  
  10. CACHE_BACKEND = 'db://django_cache' #'dummy:///'
  11.  
  12. DATABASE_ENGINE = 'mysql'
  13. DATABASE_NAME = 'analytics2'     # Or path to database file if using sqlite3.
  14. DATABASE_USER = 'root'           # Not used with sqlite3.
  15. DATABASE_PASSWORD = 'tame11'       # Not used with sqlite3.
  16. DATABASE_HOST = ''    # Set to empty string for localhost. Not used with sqlite3.
  17. DATABASE_COLLATION = 'utf8_bin'
  18. DATABASE_OPTIONS = {"init_command": "SET storage_engine=INNODB"} # innodb > myisam
  19.  
  20. SSH_KEY_FILE = '/home/lsimoni/.ssh/id_rsa'
  21. SSH_USER = 'lsimoni42'
  22.  
  23. # So sick of having to do this when i run this like once every 2 weeks
  24. import os
  25. if not os.path.exists(SESSION_FILE_PATH) :
  26.   os.mkdir(SESSION_FILE_PATH)
  27.  
  28. # Override for testing
  29. WAREHOUSE_APPS = (
  30.     #'cabinalytics.transactionreports',
  31.     #'cabinalytics.couponcabin',
  32.     #'cabinalytics.lux',
  33.     #'cabinalytics.mallwalker',
  34.     #'cabinalytics.seatcity',
  35.     #'cabinalytics.cheapuncle',
  36.     #'cabinalytics.save',
  37.     'cabinalytics.scoring',
  38. )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement