Hi,

I'm running Flask to host multiple websites. We have a common template 
folder as a fallback, and if specific websites have specific requirements, 
we want to overwrite these with specific templates.
Our folder structures looks like;
- templates
- - common
- - - a.html
- - - b.html
- - website1
- - - a.html

I have implemented a ChoiceLoader, that detects the current website and 
calls the FileSystemLoader for that site first. Unfortunately, this 
ChoiceLoader is initiated only on application startup. Is there a way to 
redirect between multiple template folders per request?

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/groups/opt_out.


Reply via email to