I created APP directory and inside that templates directory.  I copied 
base.html from PROJECT/templates to PROJECT/APP/templates.  Without 
specifying 'loaders'  for TEMPLATES{"OPTIONS"}, my app's base.html is 
ignored.

I created HOST_THEMES.  Still, same behavior!

A.  Which of the following is the best method to make Mezzanine read my 
custom base.html ?

  1.  Should I specify 'loaders' option in TEMPLATES{"OPTIONS"} such that 
it searches App Dirs first and then filesystem?  I don't want to waste CPU 
cycles because this may cause directory lookup in every installed app!

  2.  Should I just rename PROJECT/templates/base.html to 
PROJECT/templates/base.html.orig ?

  3.  Should I create another app called DEFAULT_THEME and move 
PROJECT/templates to DEFAULT_THEME ?


B.  If I use HOST_THEMES = [('example.com', 'APP')], then what's the best 
method.


C. With HOST_THEMES, why is Mezzanine still searching PROJECT/templates 
first and it never has to search APP/templates ?


Between Django and Mezzanine, I feel like a lot of messy and undocumented 
things happened with regards to template customization and host themes!  
Seems like counter-intuitive and pointless if we need to hack away to get 
around this mess.

-- 
You received this message because you are subscribed to the Google Groups 
"Mezzanine Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to