Thank you for workaround. In my case I solved it in different way. I know that all email templates are in db, and we use django-dbtemplates to get them as any other template. So instead of using Django's `find_template`, I use dbtemplate loader directly, and it returns template source. However it's a kind of hack too, I hope Django will allow users to get template source, I agree with you - why they want to remove that feature.
On Aug 26, 2:42 am, Doug Ballance <dball...@gmail.com> wrote: > I haven't moved to 1.3 yet, but we do a few things with the template > source too so this is definitely of interest. It looks like most of > the template loaders define a load_template_source method > implementation that does return the source, except for the cached > loader. As a work around you could add a module with your own > find_template_source() method based on the existing, but calling the > load_template_source() method instead: -- 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.