继续 Django 示例:
from django.db import models
class Publication(models.Model):
title = models.CharField(max_length=30)
class Article(models.Model):
headline = models.CharField(max_length=100)
publications = models.ManyToManyField(Publication)
如何获取所有没有发表的文章?
Article.objects.filter(...)