{% 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.
If it's not useful, just put it away. That's ok.
--
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
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
--
Adrian Holovaty
holovaty.com | djangoproject.com
I'v finished my work, you can check it.
http://code.djangoproject.com/ticket/2539
I hope this would be useful.