模板目录应该放在项目树中的什么位置以及要为 TEMPLATE_DIRS 设置什么以便 AWS beanstalk 可以读取它?
如果我在项目根目录中有 /template,我想它是os.path.join(os.path.dirname(os.path.dirname(os.path.abspath(__file__))), 'template')
?
模板目录应该放在项目树中的什么位置以及要为 TEMPLATE_DIRS 设置什么以便 AWS beanstalk 可以读取它?
如果我在项目根目录中有 /template,我想它是os.path.join(os.path.dirname(os.path.dirname(os.path.abspath(__file__))), 'template')
?