【发布时间】:2025-12-08 04:05:02
【问题描述】:
模板目录应该放在项目树中的什么位置以及要为 TEMPLATE_DIRS 设置什么以便 AWS beanstalk 可以读取它?
如果我在项目根目录中有 /template,我想它是os.path.join(os.path.dirname(os.path.dirname(os.path.abspath(__file__))), 'template')?
【问题讨论】:
标签: django amazon-web-services django-templates amazon-elastic-beanstalk