django 存在则忽略, 不存在则创 TagSheet.objects.get_or_create(tag='test')

django 存在则忽略, 不存在则创 TagSheet.objects.get_or_create(tag='test')

猜你喜欢

转载自www.cnblogs.com/pythonClub/p/9812972.html