feat: increase max_length for EncryptedEmailField to 2000
This commit is contained in:
parent
b434858faf
commit
a2243046e9
@ -60,7 +60,7 @@ class EncryptedCharField(models.CharField):
|
||||
|
||||
class EncryptedEmailField(EncryptedCharField):
|
||||
def __init__(self, *args, **kwargs):
|
||||
kwargs['max_length'] = 254
|
||||
kwargs['max_length'] = 2000
|
||||
super().__init__(*args, **kwargs)
|
||||
|
||||
def from_db_value(self, value, expression, connection):
|
||||
|
||||
Loading…
Reference in New Issue
Block a user