I'm pretty new to django and I was wondering if it is possible to do
an %include/ssi tag that can hook into the URLconf and views. Looking
at the source it doesn't seem possible.

I've written a bunch of views and now I'd like to mash them together.
I know I can use template inheritance to define some blocks and
override them, but I'd rather be able to arbitrarily put the
dynamically generated html in certain templates.

One solution is to make a view and and render each individual thing to
a string and then pass them to a template, but I was hoping there
might be a better way to do this.  Or perhaps I should rethink my site
design?

Side question - Is it a bad idea (ie. lots of overhead) to write a
custom tag that hooks in to the django functions that do this on a
HTTP request?

Thanks!
dave
--~--~---------~--~----~------------~-------~--~----~
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