mirror of
https://github.com/retspen/webvirtcloud
synced 2024-11-01 03:54: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"),
|
||||
)
|
||||
|
||||
TEMPLATE_DIRS = (
|
||||
os.path.join(BASE_DIR, 'templates'),
|
||||
)
|
||||
TEMPLATES = [
|
||||
{
|
||||
'BACKEND': 'django.template.backends.django.DjangoTemplates',
|
||||
'DIRS': [ os.path.join(BASE_DIR, 'templates'), ],
|
||||
'APP_DIRS': True,
|
||||
}
|
||||
]
|
||||
|
||||
## WebVirtCloud settings
|
||||
|
||||
|
|
Loading…
Reference in a new issue