from .settings import *

import os

DEBUG = True

DATABASES = {
    'default': {
        'ENGINE': 'django.db.backends.postgresql_psycopg2',
        'NAME': 'getyourdatadevdb',
        'USER': 'getyourdatadevuser',
        'PASSWORD': 'getyourdatadevpwd',
        'HOST': 'localhost',
        'PORT': '',
    }
}

CACHES = {
    'default': {
        'BACKEND': 'django.core.cache.backends.dummy.DummyCache',
    }
}

AUTH_PASSWORD_VALIDATORS = []

EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend'

if TESTING:
    EMAIL_BACKEND = 'django.core.mail.backends.locmem.EmailBackend'

os.environ["RECAPTCHA_TESTING"] = 'True'

PIPELINE['PIPELINE_ENABLED'] = False

STATICFILES_STORAGE = 'pipeline.storage.PipelineStorage'

from .settings import *

import os

DEBUG = True

DATABASES = {
    'default': {
        'ENGINE': 'django.db.backends.postgresql_psycopg2',
        'NAME': 'getyourdatadevdb',
        'USER': 'getyourdatadevuser',
        'PASSWORD': 'getyourdatadevpwd',
        'HOST': 'localhost',
        'PORT': '',
    }
}

CACHES = {
    'default': {
        'BACKEND': 'django.core.cache.backends.locmem.LocMemCache',
    }
}

if TESTING:
    CACHES = {
        'default': {
            'BACKEND': 'django.core.cache.backends.dummy.DummyCache',
        }
    }

AUTH_PASSWORD_VALIDATORS = []

EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend'

if TESTING:
    EMAIL_BACKEND = 'django.core.mail.backends.locmem.EmailBackend'

os.environ["RECAPTCHA_TESTING"] = 'True'

PIPELINE['PIPELINE_ENABLED'] = False

STATICFILES_STORAGE = 'pipeline.storage.PipelineStorage'

Enable in-memory cache backend for development environment, but not tests
Enable in-memory cache backend for development environment, but not tests
