I found out that for OR lookups I can use complex lookup type e.g.
complex=(Q(Subject__contains=SubjectS) |
Q(OfferType__contains=OfferTypeS))
But how can I rewrite this
complex=(Q(Subject__contains=SubjectS) |
Q(OfferType__contains=OfferTypeS))
into a dictionary like syntax so that I can use it in URL dispatcher in
an optional dictionary?
For AND lookups I could rewrite that like this
{'Subject__contains':SubjectS,'OfferType__contains':OfferTypeS}
but do not know how to rewrite the complex lookup types.
Thank you for help
Regards,
La.