class Agents(models.Model):
first_name = EncryptedCharField(max_length=255, blank=True, null=True)
last_name = EncryptedCharField(max_length=255, blank=True, null=True)
email = EncryptedCharField(max_length=255, blank=True, null=True)
I am showing list of agents using Django rest API in the frontend using nextjs
If user want to search with first_name or email how can i send the result because we are using EncryptedCharField how would i match
Please help me