django 筛选不等于的内容 myapps = App.objects.filter(name != ''))这种写法是不对的,正确写法是: from django.db.models import Q myapps = App.objects.filter(~Q(name= ''))