summaryrefslogtreecommitdiff
path: root/django
diff options
context:
space:
mode:
authorAdam Johnson <me@adamj.eu>2025-04-15 14:24:12 +0100
committerSarah Boyce <42296566+sarahboyce@users.noreply.github.com>2025-04-16 10:21:38 +0200
commit6ef0f5bc272b316f0fd6fa706d7eaf8f1822faa4 (patch)
tree499b867d39644712dd26643bbe1fa5a9da518248 /django
parent494d2dc316fc1d849b6a1af97575d293f856a84c (diff)
Americanized some spellings.
Diffstat (limited to 'django')
-rw-r--r--django/contrib/postgres/aggregates/general.py2
-rw-r--r--django/db/migrations/migration.py4
2 files changed, 3 insertions, 3 deletions
diff --git a/django/contrib/postgres/aggregates/general.py b/django/contrib/postgres/aggregates/general.py
index 153b0242e3..b2ecd18ffb 100644
--- a/django/contrib/postgres/aggregates/general.py
+++ b/django/contrib/postgres/aggregates/general.py
@@ -73,7 +73,7 @@ class StringAgg(_DeprecatedOrdering, _StringAgg):
warnings.warn(
"delimiter: str will be resolved as a field reference instead "
"of a string literal on Django 7.0. Pass "
- f"`delimiter=Value({delimiter!r})` to preserve the previous behaviour.",
+ f"`delimiter=Value({delimiter!r})` to preserve the previous behavior.",
category=RemovedInDjango70Warning,
stacklevel=2,
)
diff --git a/django/db/migrations/migration.py b/django/db/migrations/migration.py
index 3c7713c5ea..2041a28780 100644
--- a/django/db/migrations/migration.py
+++ b/django/db/migrations/migration.py
@@ -128,7 +128,7 @@ class Migration:
self.app_label, schema_editor, old_state, project_state
)
else:
- # Normal behaviour
+ # Normal behavior
operation.database_forwards(
self.app_label, schema_editor, old_state, project_state
)
@@ -189,7 +189,7 @@ class Migration:
self.app_label, schema_editor, from_state, to_state
)
else:
- # Normal behaviour
+ # Normal behavior
operation.database_backwards(
self.app_label, schema_editor, from_state, to_state
)