Compare commits
No commits in common. "76942214005db695ca47f0d1bd87a4974bb9ebde" and "5401ab61d2efba962ba610fdd890a1ac63a68217" have entirely different histories.
7694221400
...
5401ab61d2
@ -60,7 +60,7 @@ class EncryptedCharField(models.CharField):
|
|||||||
|
|
||||||
class EncryptedEmailField(EncryptedCharField):
|
class EncryptedEmailField(EncryptedCharField):
|
||||||
def __init__(self, *args, **kwargs):
|
def __init__(self, *args, **kwargs):
|
||||||
kwargs['max_length'] = 2000
|
kwargs['max_length'] = 254
|
||||||
super().__init__(*args, **kwargs)
|
super().__init__(*args, **kwargs)
|
||||||
|
|
||||||
def from_db_value(self, value, expression, connection):
|
def from_db_value(self, value, expression, connection):
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user