I have a folder, templates, structured like below
/Users/AndyKw/Documents/Python/Else/Yes/templates
Within templates
, I have two folders, admin
and registration
(see below for the tree)
templates (need.html)
|
|-- admin
|
|-- registration (base.html)
The file I use base.html
is in the folder registration
. It needs to use a file , need.html
in the folder templates
with the extends
command.
Question is the following:
- How do I configure in the settings.py the
templates
parameter to useregistration
as the main folder and throughbase.html
to reach by usingextends
the fileneed.html
in thetemplates
folder?
One possible solution would be to invert the path, put need.html
in the registration
folder and put the base.html
in the templates
folder but the dev team seems to be quite unbending on this solution, this would be the less favourable way.
Any ideas/tips are welcomed.