diff options
Diffstat (limited to 'django')
| -rw-r--r-- | django/contrib/postgres/aggregates/general.py | 2 | ||||
| -rw-r--r-- | django/db/migrations/migration.py | 4 |
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 ) |
