Skip to content

Instantly share code, notes, and snippets.

@aviars
Last active December 19, 2015 09:49
Show Gist options
  • Save aviars/5936404 to your computer and use it in GitHub Desktop.
Save aviars/5936404 to your computer and use it in GitHub Desktop.
from settings import *
BASE_DIR = os.path.join( os.path.dirname( __file__ ), '..' )
DBPATH=os.path.join(BASE_DIR, 'gemini.db')
DATABASES = {
'duncan': {
'ENGINE': 'django.db.backends.mysql',
'NAME': 'duncan',
'USER': '',
'PASSWORD': '',
'HOST': '127.0.0.1',
'PORT': '',
'OPTIONS': {
'init_command': 'SET storage_ENGINE=INNODB,character_set_connection=utf8,collation_connection=utf8_unicode_ci'
},
},
'default': {
'ENGINE': 'django.db.backends.sqlite3',
'NAME': DBPATH,
'USER': '',
'PASSWORD': '',
'HOST': '',
'PORT': '',
},
}
#mail settings
EMAIL_USE_TLS = True
EMAIL_HOST = 'smtp.gmail.com'
EMAIL_HOST_USER = 'your-user@gmail.com'
EMAIL_HOST_PASSWORD = 'yourpassword'
EMAIL_PORT = 587
EMAIL_HOST_USER = 'your-user@gmail.com'
HOSTNAME_URL = 'http://www.duncanhines.com'
ORGANIZATION_NAME = "DuncanHines"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment