mirror of
https://github.com/lemeow125/StudE-Backend.git
synced 2025-07-02 02:05:45 +08:00
10 lines
368 B
Python
10 lines
368 B
Python
from django.contrib.auth.models import AbstractUser
|
|
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)
|
|
pass
|