summaryrefslogtreecommitdiff
path: root/docs/ref/contrib/postgres
diff options
context:
space:
mode:
authorsdolemelipone <mark.gensler@protonmail.com>2022-12-05 05:06:09 +0100
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2022-12-05 05:51:50 +0100
commita196dcc9c8b9bb84774e933020f5e1468672a057 (patch)
treefa0e6e656828feaad0685fcaffe2628e9aa22d0a /docs/ref/contrib/postgres
parent58156f4ed761b9f7650d5e7a12f3f20be3d60c53 (diff)
[4.1.x] Fixed typo in docs/ref/contrib/postgres/aggregates.txt.
Backport of 0abd8f1cb8a9bab4627f5798ff5a87c32926b562 from main
Diffstat (limited to 'docs/ref/contrib/postgres')
-rw-r--r--docs/ref/contrib/postgres/aggregates.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/ref/contrib/postgres/aggregates.txt b/docs/ref/contrib/postgres/aggregates.txt
index 285e86f5d5..d8964115e0 100644
--- a/docs/ref/contrib/postgres/aggregates.txt
+++ b/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()