Thanks for the reply, I've also just found out about context processors, which to me sound extremely similar to templatetags. The only problem I can see with both of these options is that I can't see how you pass extra options into them, whereas you can if the logic is contained within views.py
I think Django is great, but there are at least three different ways to do what I want which I think is almost too many options as I'm left utterly confused as to which is appropriate for the situation. Your answer makes sense, but how do context processors fit into all of this? On Jan 11, 2:03 am, Kenneth Gonsalves <[EMAIL PROTECTED]> wrote: > On 10-Jan-08, at 8:54 PM, Darthmahon wrote: > > > Is there any real difference between passing the data from a views.py > > file into a template compared with asking for the data using a > > templatetag? > > if you are only using it in one template - do it in the view. If you > are doing it in several or all templates, do it in templatetags > > -- > > regards > kghttp://lawgon.livejournal.comhttp://nrcfosshelpline.in/web/ > Foss Conference for the common man:http://registration.fossconf.in/web/ --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---