mirror of
https://github.com/retspen/webvirtcloud
synced 2024-11-01 12:04:15 +00:00
settings: TEMPLATE_DIRS is deprecated, using TEMPLATES instead
This commit is contained in:
parent
4d08f956fb
commit
f959dc7016
1 changed files with 7 additions and 3 deletions
|
@ -78,9 +78,13 @@ STATICFILES_DIRS = (
|
||||||
os.path.join(BASE_DIR, "static"),
|
os.path.join(BASE_DIR, "static"),
|
||||||
)
|
)
|
||||||
|
|
||||||
TEMPLATE_DIRS = (
|
TEMPLATES = [
|
||||||
os.path.join(BASE_DIR, 'templates'),
|
{
|
||||||
)
|
'BACKEND': 'django.template.backends.django.DjangoTemplates',
|
||||||
|
'DIRS': [ os.path.join(BASE_DIR, 'templates'), ],
|
||||||
|
'APP_DIRS': True,
|
||||||
|
}
|
||||||
|
]
|
||||||
|
|
||||||
## WebVirtCloud settings
|
## WebVirtCloud settings
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue