Hi,

I need to change the normal behavior for icontains filter option (for
django-firebird backend implementation).

For icontains filter, django add automatically an '%'  but, for case
insensitive search, firebird uses the CONTAINING statement which
doesn't need %

Then, the question is,  which method I need to override for change
this?

I followed some advice from Ramiro Morales (http://
groups.google.com.ar/group/django-developers/browse_thread/thread/
9cdcebf23491142).

The get_db_prep_lookup look like the better candidate for it, but It's
not availible on DatabaseOperations, and for lookup_cast method I have
not available the field value.
I'm a little bit lost.

I appreciated any help.

Regards





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

Reply via email to