Answer the question
In order to leave comments, you need to log in
Django project structure?
Through startapp, I created several folders like user (everything is for registration, authorization, etc.), shop (everything is for the store), etc. Each of them has a templates folder with html files. How to make one html template file for all other files? Those. not each module has its own, but one for everything? Thanks in advance for your replies.
Answer the question
In order to leave comments, you need to log in
It is possible to keep common templates in the root application. Or define the templates directory at the project level and set it in the settings.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question