summaryrefslogtreecommitdiff
path: root/docs/ref
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2017-02-02 20:43:21 -0500
committerTim Graham <timograham@gmail.com>2017-02-03 08:01:45 -0500
commit29f607927fe82e2c8baab171dfa8baf710cd9b83 (patch)
treef525c6c4784ccafe77e01f706093fa6f4a5c9481 /docs/ref
parenta21ec12409a5b72d602cd03ee925b6ceb1cd5492 (diff)
Fixed spelling of "nonexistent".
Diffstat (limited to 'docs/ref')
-rw-r--r--docs/ref/checks.txt8
-rw-r--r--docs/ref/request-response.txt6
-rw-r--r--docs/ref/templates/api.txt2
-rw-r--r--docs/ref/utils.txt2
4 files changed, 9 insertions, 9 deletions
diff --git a/docs/ref/checks.txt b/docs/ref/checks.txt
index 35c0bd6987..d71219f5be 100644
--- a/docs/ref/checks.txt
+++ b/docs/ref/checks.txt
@@ -281,13 +281,13 @@ Models
* **models.E010**: ``unique_together`` must be a list or tuple.
* **models.E011**: All ``unique_together`` elements must be lists or tuples.
* **models.E012**: ``index_together/unique_together`` refers to the
- non-existent field ``<field name>``.
+ nonexistent field ``<field name>``.
* **models.E013**: ``index_together/unique_together`` refers to a
``ManyToManyField`` ``<field name>``, but ``ManyToManyField``\s are not
supported for that option.
* **models.E014**: ``ordering`` must be a tuple or list (even if you want to
order by only one field).
-* **models.E015**: ``ordering`` refers to the non-existent field
+* **models.E015**: ``ordering`` refers to the nonexistent field
``<field name>``.
* **models.E016**: ``index_together/unique_together`` refers to field
``<field_name>`` which is not local to model ``<model>``.
@@ -659,9 +659,9 @@ The following checks are performed when a model contains a
:class:`~django.contrib.contenttypes.fields.GenericRelation`:
* **contenttypes.E001**: The ``GenericForeignKey`` object ID references the
- non-existent field ``<field>``.
+ nonexistent field ``<field>``.
* **contenttypes.E002**: The ``GenericForeignKey`` content type references the
- non-existent field ``<field>``.
+ nonexistent field ``<field>``.
* **contenttypes.E003**: ``<field>`` is not a ``ForeignKey``.
* **contenttypes.E004**: ``<field>`` is not a ``ForeignKey`` to
``contenttypes.ContentType``.
diff --git a/docs/ref/request-response.txt b/docs/ref/request-response.txt
index 2d564d1954..6de18234c4 100644
--- a/docs/ref/request-response.txt
+++ b/docs/ref/request-response.txt
@@ -323,10 +323,10 @@ Methods
'Tony'
>>> request.get_signed_cookie('name', salt='name-salt')
'Tony' # assuming cookie was set using the same salt
- >>> request.get_signed_cookie('non-existing-cookie')
+ >>> request.get_signed_cookie('nonexistent-cookie')
...
- KeyError: 'non-existing-cookie'
- >>> request.get_signed_cookie('non-existing-cookie', False)
+ KeyError: 'nonexistent-cookie'
+ >>> request.get_signed_cookie('nonexistent-cookie', False)
False
>>> request.get_signed_cookie('cookie-that-was-tampered-with')
...
diff --git a/docs/ref/templates/api.txt b/docs/ref/templates/api.txt
index afa43f7abd..c4f250e667 100644
--- a/docs/ref/templates/api.txt
+++ b/docs/ref/templates/api.txt
@@ -381,7 +381,7 @@ replaced with the name of the invalid variable.
idea to turn it on as a 'development default'.
Many templates, including those in the Admin site, rely upon the silence
- of the template system when a non-existent variable is encountered. If you
+ of the template system when a nonexistent variable is encountered. If you
assign a value other than ``''`` to ``string_if_invalid``, you will
experience rendering problems with these templates and sites.
diff --git a/docs/ref/utils.txt b/docs/ref/utils.txt
index 1e37d28ca8..c9ab5e3975 100644
--- a/docs/ref/utils.txt
+++ b/docs/ref/utils.txt
@@ -984,7 +984,7 @@ appropriate entities.
``value`` aware during a DST transition such that the time never occurred
(when entering into DST). Setting ``is_dst`` to ``True`` or ``False`` will
avoid the exception by moving the hour backwards or forwards by 1
- respectively. For example, ``is_dst=True`` would change a non-existent
+ respectively. For example, ``is_dst=True`` would change a nonexistent
time of 2:30 to 1:30 and ``is_dst=False`` would change the time to 3:30.
.. function:: make_naive(value, timezone=None)