On 8/13/06, limodou <[EMAIL PROTECTED]> wrote: > On 8/13/06, Adrian Holovaty <[EMAIL PROTECTED]> wrote: > > > > On 8/7/06, limodou <[EMAIL PROTECTED]> wrote: > > > How to use namespace? For example, > > > > > > {% load example %} > > > {% example.testtag %} > > > > > > And I think if the namespace can be optional is better. I don't know > > > if it's useful, but sometimes I read others projects, and as I reading > > > the template, I don't know which tag is in which file. So find the > > > correct tag definition file is somewhat diffcult. If I can add > > > namespace in the front of a custom tag name, it'll be easy to locate > > > the source file. > > > > Hi limodou, > > > > This would be a nice improvement, and it seems like it could be > > accomplished in a backwards-compatible fashion, by allowing > > non-qualified template tag names. Would you (or anybody else) be > > interested in coming up with a solution? > > > > Adrian > > > Ok, I'll try to implement it. > Adrian:
I'v finished my work, you can check it. http://code.djangoproject.com/ticket/2539 I hope this would be useful. -- I like python! My Blog: http://www.donews.net/limodou My Django Site: http://www.djangocn.org NewEdit Maillist: http://groups.google.com/group/NewEdit --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-developers -~----------~----~----~----~------~----~------~--~---