Filipe Correia напиша: > {% ifgreaterthan items|length list_limit %} > See <a href="...">all the records</a>. > {% endifgreaterthan %} > > Using {% list_limit %} prints it's value fine but somehow, when used > in the context of another tag, it's value isn't resolved.
Prehaps you could try setting a context variable in list_limit and pass that as an argument to ifgreaterthan? http://www.djangoproject.com/documentation/templates_python/#setting-a-variable-in-the-context -- Glisha The perfect OS, MS-DOS! No patches, no root exploits for 21 years. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---