On ma, 2010-05-24 at 13:49 -0700, christian verkerk wrote:
> i made an inclusion tag for making an image button of varying widths,
> which i call through:
>
> {% make_button 'click me' item.get_absolute_url %}
>
> i then resolve the second param in context for the button link,
> however i would like to be able to do something along the lines of:
>
> {% make_button 'click me' '/specific/url/with/{{foo}}' %}
>
> in specific cases. resolving that whole second string into context to
> get something like '/specific/url/with/bar/'
{% make_button 'click me' '/specific/url/with/%s' foo %}
--
Dennis K.
They've gone to plaid!
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to [email protected].
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.