Compare commits
2 Commits
5401ab61d2
...
7694221400
| Author | SHA1 | Date | |
|---|---|---|---|
| 7694221400 | |||
| 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