mariuz / django-firebird-1.4

django-firebird 1.4.x exported from code.google.com/p/django-firebird
0 stars 0 forks source link

iexact filter option doesn't work correctly. #10

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Like the filter option icontains (issue 4) iexact filter option doesn'n
work correctly.

Test with django PasswordResetForm:

email = self.cleaned_data["email"]
self.users_cache = User.objects.filter(email__iexact=email)

It generate:
WHERE "AUTH.USER"."EMAIL" = UPPER(email) 

And think should be:
WHERE "AUTH.USER"."EMAIL" = email 

More Info:
----------
Django 1.1
Python 2.6 (virtualenv 1.3)
Firebird 1.5.5

Original issue reported on code.google.com by estebanbarolin@gmail.com on 27 Nov 2009 at 11:58

GoogleCodeExporter commented 9 years ago

Original comment by maxirobaina on 8 Dec 2009 at 2:20