django rest_framework中的APIView,ModelViewSet,认证,权限,频率,版本
models.pyfromdjango.dbimportmodelsclassUserInfo(models.Model):name=models.CharField(max_length=32)pwd=models.CharField(max_length=32)type_choices=((1,"普通用户"),(2,"VIP"),(3,"SVIP"))user_type=models.Inte