This repository has been archived on 2022-05-05. You can view files and clone it, but cannot push or open issues or pull requests.
userausfall/userausfall/models.py

19 lines
469 B
Python
Raw Normal View History

2021-04-12 09:55:30 +02:00
from django.contrib.auth.models import AbstractUser
from django.db import models
2021-04-12 09:55:30 +02:00
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)