开发者

Where is the ideal place for django's template?

开发者 https://www.devze.com 2023-04-08 03:58 出处:网络
According to Brian\'s response, he recomends put template dir on the top level django project. In other responses find that every app should have its own template folder.

According to Brian's response, he recomends put template dir on the top level django project. In other responses find that every app should have its own template folder.

I wonder if there is an official recommendation or criteria as the peps in python, for the location of the template folder regardless of how many applications may have a django开发者_如何学JAVA project


App-specific resources belong with the app. Project-wide resources or project-overridden resources belong with the project.

0

精彩评论

暂无评论...
验证码 换一张
取 消