I can't make sure whether jinja2 could use this in templates, but the 
grammar u list could be written in py as i know.
could u list the folder hierarchy about your project? I think the folder 
'components' isn't related with the root folder.
or maybe u could implement this in py file that I'm sure with 
http://stackoverflow.com/questions/9641317/jinja2-filesystemloader-load-all-subdirectories
.

在 2014年7月11日星期五UTC+8上午5时20分27秒,shiqiang guo写道:
>
> I use standard flask .
> I want to put some jinja2 templates into sub folder, and include it in 
> some other template, 
> Like this: 
>
>   {% include "components/pager.html" %}     
>
> But the it thrown : 
>
> raise TemplateNotFound(template) 
>
> So how could I do that? 
>
> Thanks 
>

-- 
You received this message because you are subscribed to the Google Groups 
"pocoo-libs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/pocoo-libs.
For more options, visit https://groups.google.com/d/optout.

Reply via email to