On 13 nov, 11:13, sugi <[EMAIL PROTECTED]> wrote: > Hi > > Can any one explain template tag with sample example.
No problem : http://docs.djangoproject.com/en/dev/howto/custom-template-tags/#writing-custom-template-tags To make a long story short: the parser function is called at "compilation" time, and must return a Node object. The result of the "compilation" phase is an in-memory tree of Node objects. Then this tree is traversed, each Node being called with the current context, and the return value being concat to build the final HTML (or whatever) content. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@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-users?hl=en -~----------~----~----~----~------~----~------~--~---