On 10/10/07, johnny <[EMAIL PROTECTED]> wrote:
>
> In django template, can you have (% block somename %} above root html
> element of a document, like here?

The Django template syntax is independent of the syntax of the
document it is rendereing. Although you may use Django to render HTML,
a Django template isn't HTML, so it isn't required to validate as
HTML. As long as you close every open Django template tag, you can put
your blocks wherever you like.

Yours,
Russ Magee %-)

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

Reply via email to