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 36f0ec962e
commit 3bca8a22df
1 changed files with 10 additions and 4 deletions

View File

@ -135,6 +135,16 @@ TEMPLATE_CONTEXT_PROCESSORS = (
'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
# https://docs.djangoproject.com/en/1.8/ref/settings/#databases
@ -194,10 +204,6 @@ TEMPLATE_DIRS = (
os.path.join(BASE_DIR, "templates"),
)
# TODO: Configure it later.
CMS_TEMPLATES = (
)
META_SITE_PROTOCOL = 'http'
META_USE_SITES = True