settings: added template dirs.
Signed-off-by: rscnt <rascnt@gmail.com>
This commit is contained in:
parent
36f0ec962e
commit
3bca8a22df
1 changed files with 10 additions and 4 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue