标签: python django django-rest-framework
在Django中,超级用户是否也是一个积极的活跃成员?
答案 0 :(得分:0)
如果is_active is False,那么他不是 USER 属于上下文。如果他不是用户,则他不能成为超级用户 简而言之,对于superuser,他必须处于active州(即is_actve=True)
is_active is False
superuser
active
is_actve=True