Does python have the ability to create dynamic keywords?
For example:
qset.filter(min_price__usd__range=(min_price, max_price))
I w
If I understand what you're asking correctly,
qset.filter(**{ 'min_price_' + selected_currency + '_range' : (min_price, max_price)})
does what you need.