diff options
| author | David Smith <39445562+smithdc1@users.noreply.github.com> | 2021-07-30 19:34:50 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-07-30 20:34:50 +0200 |
| commit | fbb1984046ae00bdf0b894a6b63294395da1cce8 (patch) | |
| tree | e82e7b4c6bb04a035c62cacda31f302a6eefb006 /docs/ref | |
| parent | f2ed2211c26ba375390cb76725c95ae970a0fd1d (diff) | |
Refs #32956 -- Updated words ending in -wards.
AP styleguide: Virtually none of the words ending with -wards end with
an s.
Diffstat (limited to 'docs/ref')
| -rw-r--r-- | docs/ref/databases.txt | 2 | ||||
| -rw-r--r-- | docs/ref/models/fields.txt | 4 | ||||
| -rw-r--r-- | docs/ref/settings.txt | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/docs/ref/databases.txt b/docs/ref/databases.txt index d3231f5583..7e55b98af9 100644 --- a/docs/ref/databases.txt +++ b/docs/ref/databases.txt @@ -528,7 +528,7 @@ Several other `MySQLdb connection options`_ may be useful, such as ``ssl``, Setting ``sql_mode`` ~~~~~~~~~~~~~~~~~~~~ -From MySQL 5.7 onwards, the default value of the ``sql_mode`` option contains +From MySQL 5.7 onward, the default value of the ``sql_mode`` option contains ``STRICT_TRANS_TABLES``. That option escalates warnings into errors when data are truncated upon insertion, so Django highly recommends activating a `strict mode`_ for MySQL to prevent data loss (either ``STRICT_TRANS_TABLES`` diff --git a/docs/ref/models/fields.txt b/docs/ref/models/fields.txt index d7336d7001..1a3558ac17 100644 --- a/docs/ref/models/fields.txt +++ b/docs/ref/models/fields.txt @@ -1755,7 +1755,7 @@ The possible values for :attr:`~ForeignKey.on_delete` are found in a reference to the setting, not to the model directly. You only want to override this to be ``False`` if you are sure your - model should always point towards the swapped-in model - for example, + model should always point toward the swapped-in model - for example, if it is a profile model designed specifically for your custom user model. Setting it to ``False`` does not mean you can reference a swappable model @@ -1969,7 +1969,7 @@ that control how the relationship functions. a reference to the setting, not to the model directly. You only want to override this to be ``False`` if you are sure your - model should always point towards the swapped-in model - for example, + model should always point toward the swapped-in model - for example, if it is a profile model designed specifically for your custom user model. If in doubt, leave it to its default of ``True``. diff --git a/docs/ref/settings.txt b/docs/ref/settings.txt index 47718a6838..cc58192bd4 100644 --- a/docs/ref/settings.txt +++ b/docs/ref/settings.txt @@ -1227,7 +1227,7 @@ Default: ``False`` If set to ``True``, Django's exception handling of view functions (:data:`~django.conf.urls.handler500`, or the debug view if :setting:`DEBUG` is ``True``) and logging of 500 responses (:ref:`django-request-logger`) is -skipped and exceptions propagate upwards. +skipped and exceptions propagate upward. This can be useful for some test setups. It shouldn't be used on a live site unless you want your web server (instead of Django) to generate "Internal |
