19 lines
469 B
Python
19 lines
469 B
Python
from django.contrib.auth.models import AbstractUser
|
|
from django.db import models
|
|
|
|
|
|
class User(AbstractUser):
|
|
pass
|
|
|
|
|
|
class AccountRequest(models.Model):
|
|
created_time = models.DateTimeField(auto_now_add=True)
|
|
|
|
email = models.EmailField()
|
|
is_verified = models.BooleanField(default=False)
|
|
|
|
confidant_email = models.EmailField(blank=True)
|
|
is_trustable = models.BooleanField(default=False)
|
|
|
|
username = models.CharField(max_length=100, blank=True)
|