Ya it worked for the same way, added a folder with init file and the actual
file inside it.
  app_path, taglib = taglib_module.rsplit('.',1)
This is the bug here , trying to split with the last word in the module
path.
for the single word input its raising this kind errors. but this is helpful,
can place the filter file in any path of the app...

On Tue, Feb 15, 2011 at 8:04 PM, Adam <[email protected]> wrote:

> Sandeep and Norvo, I was bitten by this bug as well, and I was able to
> figure out a solution. It seems that with Django 1.2,
> the register_template_library call no longer takes a simple file path.
> Instead, it expects a module.class dot-notation. To fix it, I put the file
> that contains my custom tag definitions (MVCTags.py in my case) in a
> directory called 'tags' and added an empty __init__.py file. That makes
> 'tags' a Python module. Then, I changed the call to
> register_template_library to this: register_template_library('tags.MVCTags')
> and it works just fine.
>
> --
> 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