Sorry, bad cut and paste.

On 2/22/07, Jeremy Dunck <[EMAIL PROTECTED]> wrote:
...
> source, origin = loader.find_template_source('B',
> dirs=['/dir/to/dynamic/a/','/dir/to/b/'])
> template = loader.get_template_from_string(source, origin, 'B')
>
> You'd always call the parent template "A", but vary the dirs the
> loader looks in to find different templates named "A".
>

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