Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- DATABASES = {
- "default": {
- "ENGINE": "django.db.backends.mysql", # Add "postgresql_psycopg2", "postgresql", "mysql", "sqlite3" or "oracle".
- "NAME": "maris", # Or path to database file if using sqlite3.
- "USER": "root", # Not used with sqlite3.
- "PASSWORD": "", # Not used with sqlite3.
- "HOST": "", # Set to empty string for localhost. Not used with sqlite3.
- "PORT": "", # Set to empty string for default. Not used with sqlite3.
- }
- }
- DEBUG = True
- LOCALE_PATHS = ('/home/maris/djangosites/maris/maris/locale',)
- ROSETTA_UWSGI_AUTO_RELOAD = True
- ALLOWED_HOSTS = ['*']
- #if 'loaddata' in sys.argv:
- # # only change this for loaddata command.
- # DATABASES['default']['OPTIONS'] = {
- # "init_command": "SET foreign_key_checks = 0;",
- # }
- # mailer
- EMAIL_HOST = '178.218.166.222'
- EMAIL_HOST_USER = 'info@maris.hr'
- EMAIL_HOST_PASSWORD = 'Bluevitonina2016'
- EMAIL_PORT = 465
- EMAIL_USE_SSL = True
- CONTACT_ADDRESS_LIST = ['nekretninemaris@gmail.com']
- #CONTACT_ADDRESS_LIST = ['alex@fwd.hr']
- ROSETTA_MESSAGES_PER_PAGE = 20
- SERVER_EMAIL = "info@maris.hr"
- #
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement