📜  在 django 模板目录中创建新的应用程序文件夹 - Python 代码示例

📅  最后修改于: 2022-03-11 14:47:05.291000             🧑  作者: Mango

代码示例1
#settings.py
TEMPLATES = [
    {
        ...
        'DIRS': [os.path.join(BASE_DIR, 'templates'),
                 os.path.join(BASE_DIR, 'templates', 'the_folder_you_created'),
                ...
                ]
    }
]