示例#1
0
文件: base.py 项目: groovecoder/fjord
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
示例#2
0
文件: test.py 项目: xrile/fjord
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
示例#3
0
文件: test.py 项目: Ritsyy/fjord
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
示例#4
0
文件: test.py 项目: Givemore/fjord
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