1 from .models import UserInfo 2 3 data = UserInfo.objects.get(id=5).values_list("user_name",flat=true)
原文地址:https://www.cnblogs.com/lowmanisbusy/p/9074332.html
时间: 2024-10-12 22:24:19
1 from .models import UserInfo 2 3 data = UserInfo.objects.get(id=5).values_list("user_name",flat=true)
原文地址:https://www.cnblogs.com/lowmanisbusy/p/9074332.html