-
Notifications
You must be signed in to change notification settings - Fork 51
Open
Description
I was getting some strange behavior on my site and traced the problem back to this:
In [1]: from customers.models import *
In [2]: foo = KYCUser.objects.filter(ss_num__isnull=False).last()
In [3]: print foo.ss_num
Out[3]: u'123456789'
In [4]: KYCUser.objects.filter(ss_num='123456789')
Out[4]: []
ss_num looks like this in the model defintion:
ss_num = EncryptedCharField(max_length=10, blank=True, null=True, db_index=True)
Does this library not support filtering? That'd be understandable, but if so it should make that clear in the docs and not fail silently.
Thanks for putting this out there!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels