Advertisement
Guest User

Untitled

a guest
Sep 1st, 2017
456
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.24 KB | None | 0 0
  1. DATABASES = {
  2. "default": {
  3. "ENGINE": "django.db.backends.mysql", # Add "postgresql_psycopg2", "postgresql", "mysql", "sqlite3" or "oracle".
  4. "NAME": "maris", # Or path to database file if using sqlite3.
  5. "USER": "root", # Not used with sqlite3.
  6. "PASSWORD": "", # Not used with sqlite3.
  7. "HOST": "", # Set to empty string for localhost. Not used with sqlite3.
  8. "PORT": "", # Set to empty string for default. Not used with sqlite3.
  9. }
  10. }
  11.  
  12.  
  13. DEBUG = True
  14.  
  15. LOCALE_PATHS = ('/home/maris/djangosites/maris/maris/locale',)
  16. ROSETTA_UWSGI_AUTO_RELOAD = True
  17.  
  18. ALLOWED_HOSTS = ['*']
  19.  
  20. #if 'loaddata' in sys.argv:
  21. # # only change this for loaddata command.
  22. # DATABASES['default']['OPTIONS'] = {
  23. # "init_command": "SET foreign_key_checks = 0;",
  24. # }
  25.  
  26. # mailer
  27. EMAIL_HOST = '178.218.166.222'
  28. EMAIL_HOST_USER = 'info@maris.hr'
  29. EMAIL_HOST_PASSWORD = 'Bluevitonina2016'
  30. EMAIL_PORT = 465
  31. EMAIL_USE_SSL = True
  32. CONTACT_ADDRESS_LIST = ['nekretninemaris@gmail.com']
  33. #CONTACT_ADDRESS_LIST = ['alex@fwd.hr']
  34. ROSETTA_MESSAGES_PER_PAGE = 20
  35.  
  36. SERVER_EMAIL = "info@maris.hr"
  37.  
  38. #
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement