зеркало из https://github.com/mozilla/bedrock.git
move settings into folder
This commit is contained in:
Родитель
be60c729a2
Коммит
9849b4718b
|
@ -1,4 +1,5 @@
|
|||
settings_local.py
|
||||
settings/local.py
|
||||
*.py[co]
|
||||
*.sw[po]
|
||||
.coverage
|
||||
|
|
|
@ -0,0 +1,6 @@
|
|||
from .base import *
|
||||
try:
|
||||
from .local import *
|
||||
except ImportError, exc:
|
||||
exc.args = tuple(['%s (did you rename settings/local.py-dist?)' % exc.args[0]])
|
||||
raise exc
|
|
@ -14,6 +14,8 @@ path = lambda *a: os.path.join(ROOT, *a)
|
|||
# http://www.i18nguy.com/unicode/language-identifiers.html
|
||||
LANGUAGE_CODE = 'en-US'
|
||||
|
||||
SESSION_COOKIE_SECURE = True
|
||||
|
||||
# Accepted locales
|
||||
PROD_LANGUAGES = ('de', 'en-US', 'es', 'fr',)
|
||||
|
Загрузка…
Ссылка в новой задаче