I am trying to follow Django's Template system while using a base.html file, however I am unsure of where to place base.html inside of my project. With namespacing in mind, Django suggests that your templates go inside of your 'project_name/app_name/templates/app_name/' directory. Since I would like to extend my base.html in multiple apps in my project, where should my base.html reside?
Since this is a shared template, place it in the project's templates
directory:
project_name/templates/base.html
Also see:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With