Re: Template inheritance, how to render dynamic content in base templates

2011-05-13 Thread robinne
Ok, thanks everyone for the replies. I will take a look at these suggestions. On May 13, 6:06 am, Michal Petrucha wrote: > On Thu, May 12, 2011 at 08:15:59PM -0700, robinne wrote: > > How can I render dynamic content in a base template if I only call a > > view on my child template? > > > What I

Re: Template inheritance, how to render dynamic content in base templates

2011-05-13 Thread Michal Petrucha
On Thu, May 12, 2011 at 08:15:59PM -0700, robinne wrote: > How can I render dynamic content in a base template if I only call a > view on my child template? > > What I am trying to do is setup a base template that will include > "Profile" information for the user who is logged in, for example: > "

Re: Template inheritance, how to render dynamic content in base templates

2011-05-13 Thread Gabe
I suggest reading about inclusion tags: http://docs.djangoproject.com/en/1.3/howto/custom-template-tags/ worked for me Gabe On 13 Maj, 07:51, Mateusz Marzantowicz wrote: > On Fri, May 13, 2011 at 5:15 AM, robinne wrote: > > How can I render dynamic content in a base template if I only call a> v

Re: Template inheritance, how to render dynamic content in base templates

2011-05-13 Thread Mateusz Marzantowicz
On Fri, May 13, 2011 at 5:15 AM, robinne wrote: How can I render dynamic content in a base template if I only call a > view on my child template? > > What I am trying to do is setup a base template that will include > "Profile" information for the user who is logged in, for example: > "Welcome Joh

Re: Template inheritance, how to render dynamic content in base templates

2011-05-13 Thread Daniel Roseman
On Friday, May 13, 2011 4:15:59 AM UTC+1, robinne wrote: > > How can I render dynamic content in a base template if I only call a > view on my child template? > > What I am trying to do is setup a base template that will include > "Profile" information for the user who is logged in, for example:

Template inheritance, how to render dynamic content in base templates

2011-05-12 Thread robinne
How can I render dynamic content in a base template if I only call a view on my child template? What I am trying to do is setup a base template that will include "Profile" information for the user who is logged in, for example: "Welcome John", instead of "login here", on every page. But if I call