hmm, i thought this is quite easy as it´s already used in the admin-interface (with filters).
thanks for the code,

patrick


Am 17.01.2006 um 16:14 schrieb scum:


Okay- that is a lot trickier. Here's some yucky code that uses the exec
command to accomplish the same goal... but it's definitely not the
elegant solution you are looking for...

        q = []
        for key, value in request.GET.items():
                q.append ( "%s = %s" % (key, value) )
        q = ", ".join(q)
        print q
        cmd = "milestones_list = milestones.get_values(%s)" % q
        exec cmd


Reply via email to