Tuesday, September 18, 2012

Re: Extending templates

> With template 'inheritance', when you extend another template, what
> happens is that the named blocks in the parent template are replaced
> with the equivalently named blocks in the derived template.
>
> This means that in the derived template, everything outside of a named
> block is ignored. You have lots of content outside the named blocks,
> so this is probably causing you some grief.
>
But I have used different block names for both the files. So I don't
think there is any chance of overriding of data.

--
Satinderpal Singh
http://satindergoraya.blogspot.in/
http://satindergoraya91.blogspot.in/

--
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate