On Fri, Jan 21, 2011 at 12:08 PM, km <srikrishnamo...@gmail.com> wrote:
> Hi all,
>
> I am trying to display a  parent django template (base.html) with a view
> function called "base" like this:
>
> def base(request):
>    return render_to_response('base.html')
>
> The base.html gets displayed in the browser(firefox 3.x) but the child html
> pages, holding content details, which extend base.html does not get pulled
> automatically.
> both base.html and child html are in the same dir.
> I am using django 1.2.4 on ubuntu 10.10
> what could be the problem?
>

Why would they get pulled in? How is django to know that? If you want
to render child.html, which extends base.html, then ask django to
render child.html.

Cheers

Tom

-- 
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