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 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't actually do anything with it. > > My tag is basically fetching the shipping cost for a product in a > certain province so I can give users estimates on the price of > shipping. > > Thanks in advance for any help. > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---