Using templates without loader
|Reported by:||erik@…||Owned by:||cmlenz|
I ran into problems with the include directive when creating NewTextTemplate? objects directly rather than using TemplateLoader?. It would quietly render it as an empty string, no exception or anything. Doing a little trouble-shooting in base.Template._prepare(), self.loader is None and fallback is an empty list. Hence, nothing. After looking at that code, it makes me think that a TemplateLoader? is required.