增:
法1: 实例.save()方法
from django.contrib.auth.models import User
user = User(username="abc", password="abc")
user.save()
法2:模型.objects.create()方法
from django.contrib.auth.models import User
User.objects.create(username="abc", password="abc")
改:
user.email =
user.save()
删:
user.delete()
user = User.objects.get(username="abc")
user.delete()