That worked! Thank you!!

On Tue, Jul 3, 2012 at 4:33 PM, Jon Black <jon_bl...@mm.st> 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, 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 the solution?
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/django-users/-/NJDqAyZcunAJ.
> To post to this group, send email to django-users@googlegroups.com.
> To unsubscribe from this group, send email to
> django-users+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To post to this group, send email to django-users@googlegroups.com.
> To unsubscribe from this group, send email to
> django-users+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to