Hello,

The root directory for your templates is in  '/whatever/myproject', so
of course it will look for your base.html here.
Now if your base is in another location, say "/whatever/myproject/
myapp/base.html", your extends should look like this:
{% extends "myapp/base.html" %}.

Best of Luck.

--
Gladys
http://blog.bixly.com


On Apr 15, 3:56 am, Jeff Blaine <cjbla...@gmail.com> wrote:
> Django 1.3
>
> Hi all,
>
> I can't seem to get around this.  It appears that, the following
> "index.html" template in */whatever/myproject/myapp*
>
> {% extends "base.html %}
> <!-- stuff here -->
>
> Looks for base.html as /whatever/myproject/base.html instead
> of /whatever/myproject/myapp/base.html
>
> My TEMPLATE_DIRS is set as follows, and with this setting, the 
> */whatever/myproject/myapp/index.html
> template is loaded fine* if I make it self-contained (not extending)
>
> TEMPLATE_DIRS = (
>     '/whatever/myproject',
> )
>
> Any ideas?

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to