Re: Template within a Template

2009-04-27 Thread Marcelo Ramos
On Mon, Apr 27, 2009 at 9:12 PM, Renato Untalan wrote: > > Hey guys, > > In my current project, I'm making a soap call to a remote server, > which will return to me a Django template. > Once I have the Django template, I insert it into my Context object, > and when it renders, it renders the temp

Re: Template within a Template?

2007-08-21 Thread b3n
Actually I need another clue... I'm getting very confused about how to structure my Python projects/ apps. In settings.py: TEMPLATE_DIRS = ( "C:/Python/my_templates", ) In my template dir: mylinks/ mylinks/base_site.html mylinks/bookmark_list.html (extends base_site) Now in bookmark_list.

Re: Template within a Template?

2007-08-21 Thread b3n
Thanks :) --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For

Re: Template within a Template?

2007-08-21 Thread Dave Rowe
On Tue, 21 Aug 2007 20:27:20 +0530, Kenneth Gonsalves <[EMAIL PROTECTED]> wrote: > > > On 21-Aug-07, at 8:20 PM, b3n wrote: > >> What is the python/django way of achieving this? > > template inheritance > Read this page. Read it all the way through. http://www.djangoproject.com/documentat

Re: Template within a Template?

2007-08-21 Thread Tim Chase
> I want all of my "views" (HTML pages) to use a common header, footer > etc. > > What is the python/django way of achieving this? http://www.djangoproject.com/documentation/templates/#template-inheritance It's somewhat backwards from how other template-languages work that I've used, but it ma

Re: Template within a Template?

2007-08-21 Thread Kenneth Gonsalves
On 21-Aug-07, at 8:20 PM, b3n wrote: > What is the python/django way of achieving this? template inheritance -- regards kg http://lawgon.livejournal.com http://nrcfosshelpline.in/web/ --~--~-~--~~~---~--~~ You received this message because you are subscribe