我正在检索一组不同的(不同类/模型的)对象
items = tagging.models.TaggedItem.objects.distinct().filter(tag__name__in=tagslist)
所有这些对象都必须具有 pub_date 字段,我想按该字段对它们进行排序。
有任何想法吗?非常感谢。
伊戈尔
我正在检索一组不同的(不同类/模型的)对象
items = tagging.models.TaggedItem.objects.distinct().filter(tag__name__in=tagslist)
所有这些对象都必须具有 pub_date 字段,我想按该字段对它们进行排序。
有任何想法吗?非常感谢。
伊戈尔