nevermind, I'm doing this a different way. On Dec 15, 1:46 pm, neridaj <[email protected]> wrote: > Hello, > > I'm trying to format a variable inside a {% url %} tag with > stringformat but I can't get it right. All I want to do is concatenate > a pound sign (#) to an id i.e., "#123456789", here is what I have: > > <a href="{% url django.views.generic.list_detail.object_detail > '(prepend)(id)' % {"prepend":"#", "id":tweet.twitter_id} %}"> > > Thanks for any help, > > J
-- 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.

