I think the ideal would be to keep the two tags decoupled, so I think
I'll instead use another approach. Instead of using the "list_limit"
tag I'll just pass the value from the view to the template (inside the
"context").

thanks,
Filipe

On Mar 19, 4:08 pm, Georgi Stanojevski <[EMAIL PROTECTED]> wrote:
> 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-...
>
> --
> 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to