Browse Source

Fixed typo in docs/ref/contrib/postgres/aggregates.txt.

sdolemelipone 2 năm trước cách đây
mục cha
commit
0abd8f1cb8
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      docs/ref/contrib/postgres/aggregates.txt

+ 1 - 1
docs/ref/contrib/postgres/aggregates.txt

@@ -157,7 +157,7 @@ General-purpose aggregation functions
         class Room(models.Model):
             number = models.IntegerField(unique=True)
 
-        class HotelReservation(model.Model):
+        class HotelReservation(models.Model):
             room = models.ForeignKey('Room', on_delete=models.CASCADE)
             start = models.DateTimeField()
             end = models.DateTimeField()