Re: Filter FieldError

2012-07-03 Thread Saroja Parameswaran
That worked! Thank you!! On Tue, Jul 3, 2012 at 4:33 PM, Jon Black wrote: > I think you need a double underscore: > > fieldname__startswith > > On Tue, Jul 3, 2012, at 02:47, Saroja Parameswaran wrote: > > While using filters on Django objects, I get the below error message. > Except equals

Re: Filter FieldError

2012-07-03 Thread kenneth gonsalves
On Tue, 2012-07-03 at 02:47 -0700, Saroja Parameswaran wrote: > Can anyone tell me the solution? double underscore __ -- regards Kenneth Gonsalves -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-use

Re: Filter FieldError

2012-07-03 Thread Jon Black
I think you need a double underscore: fieldname__startswith On Tue, Jul 3, 2012, at 02:47, Saroja Parameswaran wrote: While using filters on Django objects, I get the below error message. Except equals, all the other options like _startswith, _exact, _iexact shows the same error. I am using Djan

Filter FieldError

2012-07-03 Thread Saroja Parameswaran
While using filters on Django objects, I get the below error message. Except equals, all the other options like _startswith, _exact, _iexact shows the same error. I am using Django 1.4. > FieldError: Cannot resolve keyword 'fieldname_exact' into field. Choices > are: > Can anyone tell me