Browse Source

Removed unused fields from aggregation docs.

Peter Inglesby 6 years ago
parent
commit
a1ffbfb801
1 changed files with 0 additions and 2 deletions
  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
 ===========