Skip to content

Commit

Permalink
fixed typo in StringAgg and JSONBAgg examples
Browse files Browse the repository at this point in the history
  • Loading branch information
sdolemelipone committed Dec 3, 2022
1 parent f927a96 commit b308181
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/ref/contrib/postgres/aggregates.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down Expand Up @@ -213,7 +213,7 @@ General-purpose aggregation functions
class Publication(models.Model):
title = models.CharField(max_length=30)

class Article(model.Model):
class Article(models.Model):
headline = models.CharField(max_length=100)
publications = models.ManyToManyField(Publication)

Expand Down

0 comments on commit b308181

Please sign in to comment.