标签:dmi obj django 超级用户 mode 超级 rom auth ext
from django.contrib.auth.models import User
user =User.objects.get(username=‘admin‘)
user.delete()
django删除超级用户
原文地址:https://www.cnblogs.com/youleng/p/9040077.html