How to use a string in filter()

2008-05-16 Thread M.Ganesh
Hi All, I am back with another query I have this (generic) view function --8>< def object_list(request, object, filter_string = None): if filter_string: object_list = object.objects.filter(filter_string) else: o

Re: How to use a string in filter()

2008-05-17 Thread caustic
On May 17, 9:13 am, "M.Ganesh" <[EMAIL PROTECTED]> wrote: > Hi All, > > I am back with another query > > I have this (generic) view function > > --8>< > def object_list(request, object, filter_string = None): > if filter_string: >

Re: How to use a string in filter()

2008-05-17 Thread M.Ganesh
caustic wrote: > > On May 17, 9:13 am, "M.Ganesh" <[EMAIL PROTECTED]> wrote: > >> Hi All, >> >> I am back with another query >> >> I have this (generic) view function >> >> --8>< >> def object_list(request, object, filter_string = None