[google-appengine] Re: custom template loader

2009-07-03 Thread Nick Johnson (Google)
Hi BmB, As you can see from the source you're quoting, Django gets a list of loader functions from its settings. You can see how we set this internally in google/appengine/ext/webapp/template.py . If you need further help with this, you should probably ask in the Django groups, since this is a

[google-appengine] Re: custom template loader

2009-07-01 Thread BmB
I'm absolutly aggree with you Nick But may be exists any way or hack to put my loader in next function? ...\google_appengine\lib\django\django\template\loader.py ... def find_template_source(name, dirs=None): # Calculate template_source_loaders the first time the function is executed #

[google-appengine] Re: custom template loader

2009-06-29 Thread Nick Johnson (Google)
Hi BmB, Are you using the convenience functions in google.appengine.ext.webapp.template? These functions rewrite the template path for their own purposes. If you want to use your own template loader, you'll have to do the work of finding loading, and rendering yourself. -Nick Johnson On Fri,