import os

DATABASES = {
    'default': {
        'ENGINE': 'django.db.backends.mysql',
        'NAME': 'user+db',    # XXX: fix the database
        'OPTIONS': {
            'read_default_file' : os.path.expanduser('~/.my.cnf'),
        },
        'PORT': '',                      # Set to empty string for default. Not used with sqlite3.
    }
}

# Mail sending
# See https://docs.djangoproject.com/en/dev/topics/email/#email-backends
send_mail = True
send_mail = False
if send_mail:
    EMAIL_HOST = 'outgoing.mit.edu'
else:
    EMAIL_BACKEND = 'util.emailbackend.ForcedRecipientEmailBackend'
    EMAIL_FORCED_RECIPIENTS = ['testing@mit.edu', ] # XXX: change the recipient
    EMAIL_FORCED_RECIPIENTS_LABEL = 'asa-db-forced-recipient@mit.edu'

# XXX: Make this unique, and don't share it with anybody.
#SECRET_KEY = something
# Generate the "something" with:
# import random; ''.join([random.choice('abcdefghijklmnopqrstuvwxyz0123456789@#%&-_=+') for i in range(50)])

SITE_SERVER = 'https://asa.scripts.mit.edu:444' # XXX: FIXME
SITE_WEB_PATH = '/asadb'    # XXX: FIXME
SITE_URL_BASE = SITE_SERVER

COOKIES_PREFIX = "asadb_"   # XXX: FIXME

be7554570f7b97c6d11e23eec09177703f4464e2
<mask token>

<mask token>
if send_mail:
    EMAIL_HOST = 'outgoing.mit.edu'
else:
    EMAIL_BACKEND = 'util.emailbackend.ForcedRecipientEmailBackend'
    EMAIL_FORCED_RECIPIENTS = ['testing@mit.edu']
    EMAIL_FORCED_RECIPIENTS_LABEL = 'asa-db-forced-recipient@mit.edu'
<mask token>

<mask token>
DATABASES = {'default': {'ENGINE': 'django.db.backends.mysql', 'NAME':
    'user+db', 'OPTIONS': {'read_default_file': os.path.expanduser(
    '~/.my.cnf')}, 'PORT': ''}}
send_mail = True
send_mail = False
if send_mail:
    EMAIL_HOST = 'outgoing.mit.edu'
else:
    EMAIL_BACKEND = 'util.emailbackend.ForcedRecipientEmailBackend'
    EMAIL_FORCED_RECIPIENTS = ['testing@mit.edu']
    EMAIL_FORCED_RECIPIENTS_LABEL = 'asa-db-forced-recipient@mit.edu'
SITE_SERVER = 'https://asa.scripts.mit.edu:444'
SITE_WEB_PATH = '/asadb'
SITE_URL_BASE = SITE_SERVER
COOKIES_PREFIX = 'asadb_'

import os
DATABASES = {'default': {'ENGINE': 'django.db.backends.mysql', 'NAME':
    'user+db', 'OPTIONS': {'read_default_file': os.path.expanduser(
    '~/.my.cnf')}, 'PORT': ''}}
send_mail = True
send_mail = False
if send_mail:
    EMAIL_HOST = 'outgoing.mit.edu'
else:
    EMAIL_BACKEND = 'util.emailbackend.ForcedRecipientEmailBackend'
    EMAIL_FORCED_RECIPIENTS = ['testing@mit.edu']
    EMAIL_FORCED_RECIPIENTS_LABEL = 'asa-db-forced-recipient@mit.edu'
SITE_SERVER = 'https://asa.scripts.mit.edu:444'
SITE_WEB_PATH = '/asadb'
SITE_URL_BASE = SITE_SERVER
COOKIES_PREFIX = 'asadb_'

import os

DATABASES = {
    'default': {
        'ENGINE': 'django.db.backends.mysql',
        'NAME': 'user+db',    # XXX: fix the database
        'OPTIONS': {
            'read_default_file' : os.path.expanduser('~/.my.cnf'),
        },
        'PORT': '',                      # Set to empty string for default. Not used with sqlite3.
    }
}

# Mail sending
# See https://docs.djangoproject.com/en/dev/topics/email/#email-backends
send_mail = True
send_mail = False
if send_mail:
    EMAIL_HOST = 'outgoing.mit.edu'
else:
    EMAIL_BACKEND = 'util.emailbackend.ForcedRecipientEmailBackend'
    EMAIL_FORCED_RECIPIENTS = ['testing@mit.edu', ] # XXX: change the recipient
    EMAIL_FORCED_RECIPIENTS_LABEL = 'asa-db-forced-recipient@mit.edu'

# XXX: Make this unique, and don't share it with anybody.
#SECRET_KEY = something
# Generate the "something" with:
# import random; ''.join([random.choice('abcdefghijklmnopqrstuvwxyz0123456789@#%&-_=+') for i in range(50)])

SITE_SERVER = 'https://asa.scripts.mit.edu:444' # XXX: FIXME
SITE_WEB_PATH = '/asadb'    # XXX: FIXME
SITE_URL_BASE = SITE_SERVER

COOKIES_PREFIX = "asadb_"   # XXX: FIXME
