Filter on encrypted fields
ateeqsuhail opened this issue · 1 comments
ateeqsuhail commented
Filter on EncryptedCharField is not working... It is returning None in both the cases
- when i paste encrypted value from DB.
- or when i paste decrypted value.
defrex commented
Once the data is in the database, it's effectively noise. There is no way to query against it.
This is intentional. If you want to use filter
, you'll need to store the field unencrypted.