Django “This field is required.” while trying to update CustomUser

后端 未结 0 1141
醉梦人生
醉梦人生 2021-01-23 12:21

In my models.py, I have this:

class CustomUser(AbstractUser):
    USER_TYPE = ((1, \'HOD\'), (2, \'Staff\'), (3, \'Student\'))
    username = None
           


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题