F
Size: a a a
F
F
F
S
TA
TA
S
VB
DT
SR
[!] корневая папка проекта
|__ templates/
|__ application
|.. (html-файлы шаблонов)
SR
TEMPLATE_DIRS?
SR
BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
TEMPLATE_DIR = [os.path.join(BASE_DIR, 'templates')]
TEMPLATES = [
...
'DIRS': TEMPLATE_DIR,
'APP_DIRS': True,
]
SR
DT
DT
SR
SR
DT
SR