from .settings import *  # noqa


DEBUG = False

DATABASES = {
    'default': {
        'ENGINE': 'django.db.backends.postgresql_psycopg2',
        'NAME': 'commcare_sync',
        'USER': 'postgres',
        'PASSWORD': '*****',
        'HOST': 'localhost',
        'PORT': '5432',
    }
}


ALLOWED_HOSTS = [
    'localhost:8000',
]

# disallow account creation with NoNewUsersAccountAdapter
# ACCOUNT_ADAPTER = 'apps.users.account_adapter.EmailAsUsernameAdapter'
ACCOUNT_ADAPTER = 'apps.users.account_adapter.NoNewUsersAccountAdapter'

COMMCARE_EXPORT = '/home/ubuntu/.virtualenvs/commcare-sync/bin/commcare-export'


# Your email config goes here.
# see https://github.com/anymail/django-anymail for more details / examples

EMAIL_BACKEND = 'anymail.backends.mailgun.EmailBackend'

ANYMAIL = {
    "MAILGUN_API_KEY": "key-****",
    "MAILGUN_SENDER_DOMAIN": 'localhost:8000',
}

SERVER_EMAIL = 'noreply@localhost:8000'
DEFAULT_FROM_EMAIL = 'noreply@dimagi.com'
ADMINS = [('Your Name', 'devops+commcare-sync@dimagi.com')]

GOOGLE_ANALYTICS_ID = ''  # replace with your google analytics ID to connect to Google Analytics


# Sentry setup

# populate this to configure sentry. should take the form: 'https://****@sentry.io/12345'
SENTRY_DSN = ''


if SENTRY_DSN:
    import sentry_sdk
    from sentry_sdk.integrations.django import DjangoIntegration

    sentry_sdk.init(
        dsn=SENTRY_DSN,
        integrations=[DjangoIntegration()]
    )

54fb3e2a1b981464ff18324f5afccef0e4ad1e08
<mask token>

<mask token>
if SENTRY_DSN:
    import sentry_sdk
    from sentry_sdk.integrations.django import DjangoIntegration
    sentry_sdk.init(dsn=SENTRY_DSN, integrations=[DjangoIntegration()])

<mask token>
DEBUG = False
DATABASES = {'default': {'ENGINE': 'django.db.backends.postgresql_psycopg2',
    'NAME': 'commcare_sync', 'USER': 'postgres', 'PASSWORD': '*****',
    'HOST': 'localhost', 'PORT': '5432'}}
ALLOWED_HOSTS = ['localhost:8000']
ACCOUNT_ADAPTER = 'apps.users.account_adapter.NoNewUsersAccountAdapter'
COMMCARE_EXPORT = '/home/ubuntu/.virtualenvs/commcare-sync/bin/commcare-export'
EMAIL_BACKEND = 'anymail.backends.mailgun.EmailBackend'
ANYMAIL = {'MAILGUN_API_KEY': 'key-****', 'MAILGUN_SENDER_DOMAIN':
    'localhost:8000'}
SERVER_EMAIL = 'noreply@localhost:8000'
DEFAULT_FROM_EMAIL = 'noreply@dimagi.com'
ADMINS = [('Your Name', 'devops+commcare-sync@dimagi.com')]
GOOGLE_ANALYTICS_ID = ''
SENTRY_DSN = ''
if SENTRY_DSN:
    import sentry_sdk
    from sentry_sdk.integrations.django import DjangoIntegration
    sentry_sdk.init(dsn=SENTRY_DSN, integrations=[DjangoIntegration()])

from .settings import *
DEBUG = False
DATABASES = {'default': {'ENGINE': 'django.db.backends.postgresql_psycopg2',
    'NAME': 'commcare_sync', 'USER': 'postgres', 'PASSWORD': '*****',
    'HOST': 'localhost', 'PORT': '5432'}}
ALLOWED_HOSTS = ['localhost:8000']
ACCOUNT_ADAPTER = 'apps.users.account_adapter.NoNewUsersAccountAdapter'
COMMCARE_EXPORT = '/home/ubuntu/.virtualenvs/commcare-sync/bin/commcare-export'
EMAIL_BACKEND = 'anymail.backends.mailgun.EmailBackend'
ANYMAIL = {'MAILGUN_API_KEY': 'key-****', 'MAILGUN_SENDER_DOMAIN':
    'localhost:8000'}
SERVER_EMAIL = 'noreply@localhost:8000'
DEFAULT_FROM_EMAIL = 'noreply@dimagi.com'
ADMINS = [('Your Name', 'devops+commcare-sync@dimagi.com')]
GOOGLE_ANALYTICS_ID = ''
SENTRY_DSN = ''
if SENTRY_DSN:
    import sentry_sdk
    from sentry_sdk.integrations.django import DjangoIntegration
    sentry_sdk.init(dsn=SENTRY_DSN, integrations=[DjangoIntegration()])

from .settings import *  # noqa


DEBUG = False

DATABASES = {
    'default': {
        'ENGINE': 'django.db.backends.postgresql_psycopg2',
        'NAME': 'commcare_sync',
        'USER': 'postgres',
        'PASSWORD': '*****',
        'HOST': 'localhost',
        'PORT': '5432',
    }
}


ALLOWED_HOSTS = [
    'localhost:8000',
]

# disallow account creation with NoNewUsersAccountAdapter
# ACCOUNT_ADAPTER = 'apps.users.account_adapter.EmailAsUsernameAdapter'
ACCOUNT_ADAPTER = 'apps.users.account_adapter.NoNewUsersAccountAdapter'

COMMCARE_EXPORT = '/home/ubuntu/.virtualenvs/commcare-sync/bin/commcare-export'


# Your email config goes here.
# see https://github.com/anymail/django-anymail for more details / examples

EMAIL_BACKEND = 'anymail.backends.mailgun.EmailBackend'

ANYMAIL = {
    "MAILGUN_API_KEY": "key-****",
    "MAILGUN_SENDER_DOMAIN": 'localhost:8000',
}

SERVER_EMAIL = 'noreply@localhost:8000'
DEFAULT_FROM_EMAIL = 'noreply@dimagi.com'
ADMINS = [('Your Name', 'devops+commcare-sync@dimagi.com')]

GOOGLE_ANALYTICS_ID = ''  # replace with your google analytics ID to connect to Google Analytics


# Sentry setup

# populate this to configure sentry. should take the form: 'https://****@sentry.io/12345'
SENTRY_DSN = ''


if SENTRY_DSN:
    import sentry_sdk
    from sentry_sdk.integrations.django import DjangoIntegration

    sentry_sdk.init(
        dsn=SENTRY_DSN,
        integrations=[DjangoIntegration()]
    )
