On 09-11-12 10:35 AM, Todd Blanchard wrote:
> I like the rails mechanism for specifying page layouts (boilerplate
> template that surrounds the currently rendered view).
>
> Its simple and obvious.

Use the "extends" tag. If you want rails style boilerplate, there's 
always "include"

http://docs.djangoproject.com/en/dev/topics/templates/#template-inheritance
-- 
   Andy McKay
   @clearwind
   Training: http://clearwind.ca/training/
   Zen: http://djangozen.com

--

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


Reply via email to