This repository has been archived on 2022-05-05. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
userausfall/userausfall/models.py

18 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)