On Tue, 2008-12-16 at 21:35 -0800, steverfran...@gmail.com wrote:
> Given I have a variable that's constructed to contain the filter
> clause I want, how do I pass it to the object.filter?
>
> i.e.
> TripFilter="priceseason__end__gte=datetime.now()"
>
> yet
Given I have a variable that's constructed to contain the filter
clause I want, how do I pass it to the object.filter?
i.e.
TripFilter="priceseason__end__gte=datetime.now()"
yet DiveTrip.objects.filter('TripFilter')
results in
ValueError at /dive/results
too many values to unpack
Yet
2 matches
Mail list logo