Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion django/contrib/postgres/aggregates/general.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ def __init__(self, expression, delimiter, **extra):

warnings.warn(
"The PostgreSQL specific StringAgg function is deprecated. Use "
"django.db.models.aggregate.StringAgg instead.",
"django.db.models.aggregates.StringAgg instead.",
category=RemovedInDjango70Warning,
stacklevel=2,
)
Expand Down
2 changes: 1 addition & 1 deletion tests/postgres_tests/test_aggregates.py
Original file line number Diff line number Diff line change
Expand Up @@ -641,7 +641,7 @@ def test_string_agg_delimiter_deprecation(self):
def test_string_agg_deprecation(self):
msg = (
"The PostgreSQL specific StringAgg function is deprecated. Use "
"django.db.models.aggregate.StringAgg instead."
"django.db.models.aggregates.StringAgg instead."
)

with self.assertWarnsMessage(RemovedInDjango70Warning, msg) as ctx:
Expand Down