Re: how to use strings in queries?? or do lookups with dynamic number of Q objects?
Hi Pete Have you tried chaining the filters? q = Entry.objects.filter(headline__startswith="What") for x in range(x): q = q.filter(pub_date__lte=x) http://docs.djangoproject.com/en/dev/topics/db/queries/#id3 I've used this chaining method with filters. I would expect Q objects would be fi
how to use strings in queries?? or do lookups with dynamic number of Q objects?
Hi there. I am trying to make a search function. lookupInt1 = 1 print "inden loekke" for i in fromCityList: print "test"+ i.by