瀏覽代碼

Removed unused fields from aggregation docs.

Peter Inglesby 6 年之前
父節點
當前提交
a1ffbfb801
共有 1 個文件被更改,包括 0 次插入2 次删除
  1. 0 2
      docs/topics/db/aggregation.txt

+ 0 - 2
docs/topics/db/aggregation.txt

@@ -26,7 +26,6 @@ used to track the inventory for a series of online bookstores:
 
     class Publisher(models.Model):
         name = models.CharField(max_length=300)
-        num_awards = models.IntegerField()
 
     class Book(models.Model):
         name = models.CharField(max_length=300)
@@ -40,7 +39,6 @@ used to track the inventory for a series of online bookstores:
     class Store(models.Model):
         name = models.CharField(max_length=300)
         books = models.ManyToManyField(Book)
-        registered_users = models.PositiveIntegerField()
 
 Cheat sheet
 ===========