diff options
| author | David Smith <smithdc@gmail.com> | 2020-05-25 17:05:22 +0100 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2020-06-03 21:02:48 +0200 |
| commit | dbdc192ca30b70a9f22c6bc4b3155bbccd01c323 (patch) | |
| tree | bb8ddf9934dcf6ba05b9dd8e081a76f02f162a36 /django | |
| parent | 25352dc019d175dfa6e62a50de76cb3614955077 (diff) | |
Preferred usage of among/while to amongst/whilst.
Diffstat (limited to 'django')
| -rw-r--r-- | django/core/checks/model_checks.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/django/core/checks/model_checks.py b/django/core/checks/model_checks.py index 7b156fceee..15d9b7fd86 100644 --- a/django/core/checks/model_checks.py +++ b/django/core/checks/model_checks.py @@ -64,7 +64,7 @@ def check_all_models(app_configs=None, **kwargs): Error( "index name '%s' is not unique %s %s." % ( index_name, - 'for model' if len(model_labels) == 1 else 'amongst models:', + 'for model' if len(model_labels) == 1 else 'among models:', ', '.join(sorted(model_labels)), ), id='models.E029' if len(model_labels) == 1 else 'models.E030', @@ -77,7 +77,7 @@ def check_all_models(app_configs=None, **kwargs): Error( "constraint name '%s' is not unique %s %s." % ( constraint_name, - 'for model' if len(model_labels) == 1 else 'amongst models:', + 'for model' if len(model_labels) == 1 else 'among models:', ', '.join(sorted(model_labels)), ), id='models.E031' if len(model_labels) == 1 else 'models.E032', |
