Re: Passing in dynamic id's to a template tag?

2008-11-28 Thread Alex Koshelev
Standard `simple_tag` shortcut resolves variables well. On Fri, Nov 28, 2008 at 19:29, truebosko <[EMAIL PROTECTED]> wrote: > > Mulling over the docs I can't find an answer to this, say I want to do > something like so: > > {% get_shipping 'ontario' product.id %} > > Parsing ontario is simple en

Passing in dynamic id's to a template tag?

2008-11-28 Thread truebosko
Mulling over the docs I can't find an answer to this, say I want to do something like so: {% get_shipping 'ontario' product.id %} Parsing ontario is simple enough, but how do I parse product.id to actually come in as a number? No matter what I've tried it just comes in as 'product.id' and I can'