We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 819058a commit 9a3c18eCopy full SHA for 9a3c18e
django_mongodb_backend/fields/encryption.py
@@ -5,6 +5,6 @@ class EncryptedCharField(models.CharField):
5
encrypted = True
6
queries = []
7
8
- def __init__(self, *args, **kwargs):
9
- self.queries = kwargs.pop("queries", [])
+ def __init__(self, *args, queries=None, **kwargs):
+ self.queries = queries
10
super().__init__(*args, **kwargs)
0 commit comments