Hi,

I recently had a need to iterate over all templates in a code base for a 
development task. I was wondering how people felt about adding a "list all 
templates"-like function to the template backend and loader API's. Such a 
function could also accept a subdirectory to limit the templates returned.

I think such a function could be implemented fairly easily. Currently, I 
don't think it's possible to do so without relying on template API 
internals, and backend and loader-specific logic.

--Chris

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers  (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-developers+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-developers/628b2ea3-c39e-4a14-b17f-21e154cb793fn%40googlegroups.com.

Reply via email to