when using a generic views object_list, i would like to know if there is a faster way to get all the extra variables inside a custom template tag:
{% navigation pages page has_previous has_next %} and @register.simple_tag def navigation( pages, page, has_previous, has_next ): ... create some navigation code here ... ... return navigation code ... do work but i would prefer something like {% navigation context %} and @register.simple_tag def navigation( context ): ... create some navigation code here ... ... return navigation code ... which doesn't and i wonder if there is something i could do to simplify that. bernie --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---