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

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

posted @ 2018-10-18 20:32  CrossPython  阅读(499)  评论(0编辑  收藏  举报