StudE-Backend/stude/accounts/models.py

11 lines
368 B
Python
Raw Normal View History

from django.contrib.auth.models import AbstractUser
2023-06-26 19:10:04 +08:00
from django.db import models
class CustomUser(AbstractUser):
is_student = models.BooleanField(default=True)
is_banned = models.BooleanField(default=False)
year_level = models.CharField(max_length=50, null=True, blank=True)
semester = models.CharField(max_length=50, null=True, blank=True)
2023-06-26 19:45:58 +08:00
pass