On 13/10/06, MerMer <[EMAIL PROTECTED]> wrote:
>
> I can see that I could use inclusion tags or template tags.  I've read
> the documentation  however, I'm still unclear when you would use one
> over the other.
>
> What would be the appropriate use case for a template tag versus an
> inclusion tag?

The inclusion tag is simplified syntax for creating a full blown
template tag. A template tag can only take one argument (or it can
take the entire context). It is enough for most usage unless you're
trying to write a language construct for templates (in which case you
should use a proper template tag) or doing something too simple to
need a template (in which case you'd use a simple_tag).

>
> MerMer
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to