settings: added template dirs.

Signed-off-by: rscnt <rascnt@gmail.com>
This commit is contained in:
rascencio 2015-05-21 02:17:05 -06:00
parent d34ab5fa3a
commit 180c8683b8

View file

@ -135,6 +135,16 @@ TEMPLATE_CONTEXT_PROCESSORS = (
'cms.context_processors.cms_settings', 'cms.context_processors.cms_settings',
) )
TEMPLATE_DIRS = (
os.path.join(BASE_DIR, 'templates'),
)
CMS_TEMPLATES_DIR: {
1: os.path.join(BASE_DIR, 'templates/cms/ungleich.ch/'),
}
# Database # Database
# https://docs.djangoproject.com/en/1.8/ref/settings/#databases # https://docs.djangoproject.com/en/1.8/ref/settings/#databases
@ -194,10 +204,6 @@ TEMPLATE_DIRS = (
os.path.join(BASE_DIR, "templates"), os.path.join(BASE_DIR, "templates"),
) )
# TODO: Configure it later.
CMS_TEMPLATES = (
)
META_SITE_PROTOCOL = 'http' META_SITE_PROTOCOL = 'http'
META_USE_SITES = True META_USE_SITES = True