Re: Using urlencode with the url tag

2010-03-18 Thread saxon75
Yes, that's it exactly. Thanks! -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For mo

Re: Using urlencode with the url tag

2010-03-18 Thread Nuno Maltez
On Mon, Mar 15, 2010 at 11:28 PM, saxon75 wrote: > I'm trying to generate a link where the URL of the current page gets > passed in the querystring of the link.  Like so: . > > I would have thought that I could do this relatively easily with > template tags, so I've tried this: > > <% url arg1, ar

Using urlencode with the url tag

2010-03-15 Thread saxon75
I'm trying to generate a link where the URL of the current page gets passed in the querystring of the link. Like so: . I would have thought that I could do this relatively easily with template tags, so I've tried this: <% url arg1, arg2 as the_url %> http://www.example.com?variable={{ the_url|ur