Hello Mr. wesley,

  webapp.template.register_template_library('customfilters')

This is the only way we could import register_template_library,
customfilters.py file on the root level of the app, access from other paths
is not available.
We used the default package django 0.96 didnt try other version


now for 1.2 we altered the file structure to customfilters\customfilters.py
and added a init file..

webapp.template.register_template_library('customfilters.customfilters')

using this way making it work fine for 1.2
the previous mechanism didnt work for 1.2, and is raising errors.




On Wed, Feb 16, 2011 at 5:20 AM, Wesley C (Google) <[email protected]>wrote:

> just for posterity, can you guys confirm that
> register_template_library() worked without any problems in 1.0 & 1.1
> (show original snippet?), and only broke with 1.2? (i was under the
> impression that it has always taken a module name [rather than a
> path].)
>
> thanks!
> -- wesley
> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
> "Core Python Programming", Prentice Hall, (c)2007,2001
> "Python Fundamentals", Prentice Hall, (c)2009
>    http://corepython.com
>
> wesley.chun : wesc+api at google.com : @wescpy
> developer relations :: google cloud products
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/google-appengine?hl=en.
>
>


-- 
Regards
Sandeep Koduri
Phone: +91- 99 666 02 456
Gtalk: sandeep.koduri | Skype: sandeep.koduri

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.

Reply via email to