1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2024-12-24 15:15:22 +00:00

settings: TEMPLATE_DIRS is deprecated, using TEMPLATES instead

This commit is contained in:
Ing. Jan KRCMAR 2017-06-06 12:49:33 +02:00
parent 4d08f956fb
commit f959dc7016

View file

@ -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