Just a quick question about templates: I'm coming from a templating
system (html_template_sigma - ouch, I know) where you are able to hide
and show blocks like tpl.hideBlock('block_name'). ANY clue how I might
go about mimicking this behavior until we have a chance to revamp how
our templates are created in the first place? These templates are also
NOT coming from disk and are passed as strings to the module. I was
thinking of creating a secondary template that overrides the blocks I
want to hide with {% block hide_me %}{% endblock %} and then making
that extend the original template, but can't figure out how I would do
that unless the original template was on disk somewhere - which isn't
a fun option. Any pointers?

handsome greg


--~--~---------~--~----~------------~-------~--~----~
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