template loading doesn't work for extends (eg admin/base.html) [& tutorial needs updating?]
|Reported by:||anonymous||Owned by:||adrian|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
I'm following the tutorial and want to customise the site title and remove the 'Documentation' link in the Admin interface.
I can customise base_site.html by copying it into my templates directory as directed. It extends 'base.html'. Now, if I also copy base.html to the same my_templates/admin directory, it does NOT get found by the template loader (it picks up the site-packages version)! Surely this is a template loader bug?
As an alternative, I tried defining the 'userlinks' block in my new base_site.html and this works for the front admin page, but not the others (I understand that this is because other templates are being used, but from a tutorial perspective this gets complicated!)
I've had this in the past, and think I solved it by hacking the installed source in site-packages (with 0.95). I'm now using the latest svn dev version.
One quick solution would be to remove the Documentation link altogether (or make it optional in some way, especially as it doesn't work 'out of the box' (as it requires docutils to be installed).
Thanks for your help and the great product!! :) - Tushar.