Exemple #1
0
def path(*dirs):
    return os.path.join(ROOT, *dirs)


# Name of the top-level module where you put all your apps.
PROJECT_MODULE = 'fjord'

# Defines the views served for root URLs.
ROOT_URLCONF = '%s.urls' % PROJECT_MODULE

ADMINS = ()
DEV = False
DEBUG = False

DATABASES = {'default': config('DATABASE_URL', type_='database_url')}

SLAVE_DATABASES = []

DATABASE_ROUTERS = ('multidb.PinningMasterSlaveRouter',)

CACHES = {'default': config('CACHE_URL', type_='cache_url')}

# Need this because the settings file on -stage and -prod specify
# MANAGERS so it fails the check.
TEST_RUNNER = 'fake.test.runner'

## Internationalization.

# Local time zone for this installation. Choices can be found here:
# http://en.wikipedia.org/wiki/List_of_tz_zones_by_name
Exemple #2
0
from fjord.settings_utils import config

CELERY_ALWAYS_EAGER = True
SESSION_COOKIE_SECURE = False

CACHES = {
    'default': config('CACHE_URL', default='locmem://', type_='cache_url')
}

SUGGEST_PROVIDERS = []

PIPELINE_ENABLED = True
Exemple #3
0
from fjord.settings_utils import config


DEBUG = TEMPLATE_DEBUG = True
CELERY_ALWAYS_EAGER = True
SESSION_COOKIE_SECURE = False

CACHES = {
    'default': config(
        'CACHE_URL', default='locmem://', type_='cache_url'
    )
}

SUGGEST_PROVIDERS = []

PIPELINE_ENABLED = True
Exemple #4
0
from fjord.settings_utils import config


CELERY_ALWAYS_EAGER = True
SESSION_COOKIE_SECURE = False

CACHES = {"default": config("CACHE_URL", default="locmem://", type_="cache_url")}

SUGGEST_PROVIDERS = []

PIPELINE_ENABLED = True