In the previous lesson, you created a template, and now you’re going to see how to set it up. In production, Django eventually collects all of the templates in various folders and puts them all together in one folder for all the templates.
That can work fine, but there can be some problems with a flat folder structure, so it can be best to use a double folder structure instead.
abykal on April 3, 2021
Hi, I have a question. Instead of making templates folder in each app, why can’t me make a single template folder in main project directory, with separate directories for each app? This way, we can even have common templates under main directory.
Any comments?