Thanks -- you must be on your way out the door now so I won't call, but
according to your area code it looks like we might be neighbors. ;) So
following the syntax I wrote out, what I still need to know is how do I get
to EVERY_DIRECTORY_DJANGO_LOOKS_FOR_TEMPLATES_IN. That's a variable that
represents wishful thinking on my part -- I don't actually know how to get
an iterable list of those directories.

There must be some way I can sort of hook into the logic Django uses to
construct a list of template directories...

- P


On Fri, Feb 10, 2012 at 4:33 PM, Python_Junkie <
software.buy.des...@gmail.com> wrote:

> I think you have it with the syntax you just wrote down.
>
> I will be available by phone until 4:45 if you want to call.
>
> 781-...
>
> On Feb 10, 4:19 pm, Patrick Wellever <pwelle...@gmail.com> wrote:
> >
> > I need something like:
> >
> > template_files = []
> > for dir in EVERY_DIRECTORY_DJANGO_LOOKS_FOR_TEMPLATES_IN:
> >     template_files.extend(os.listdir(dir))
>

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

Reply via email to