|
|
|
@ -5,7 +5,7 @@ from django.contrib.auth.hashers import make_password
@@ -5,7 +5,7 @@ from django.contrib.auth.hashers import make_password
|
|
|
|
|
|
|
|
|
|
class Account(models.Model): |
|
|
|
|
user = models.OneToOneField(User, on_delete=models.CASCADE) |
|
|
|
|
hashed_email = models.CharField(max_length=128) |
|
|
|
|
hashed_email = models.CharField(max_length=128, blank=True) |
|
|
|
|
|
|
|
|
|
def __str__(self): |
|
|
|
|
return '%s' % (self.user.username) |
|
|
|
|