summaryrefslogtreecommitdiff
path: root/docs/ref
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2015-12-31 14:29:52 -0500
committerTim Graham <timograham@gmail.com>2015-12-31 14:31:59 -0500
commit5855bee1d1d48831b609776bec2a707694d8afb8 (patch)
tree2c799f1763bb2075b09ffc8ccafa7b3579fc354a /docs/ref
parentfd830ac8d93830c1cccf89d8fec854a9b47ddf4b (diff)
[1.9.x] Removed British/Austrialian word: whilist.
Backport of 98839e906632dfe77c6f6906d61d62868a0541dc from master
Diffstat (limited to 'docs/ref')
-rw-r--r--docs/ref/models/instances.txt4
-rw-r--r--docs/ref/urlresolvers.txt2
2 files changed, 3 insertions, 3 deletions
diff --git a/docs/ref/models/instances.txt b/docs/ref/models/instances.txt
index 70b9883731..7909d9d5c6 100644
--- a/docs/ref/models/instances.txt
+++ b/docs/ref/models/instances.txt
@@ -680,9 +680,9 @@ For example::
def get_absolute_url(self):
return "/people/%i/" % self.id
-(Whilst this code is correct and simple, it may not be the most portable way to
+While this code is correct and simple, it may not be the most portable way to
write this kind of method. The :func:`~django.core.urlresolvers.reverse`
-function is usually the best approach.)
+function is usually the best approach.
For example::
diff --git a/docs/ref/urlresolvers.txt b/docs/ref/urlresolvers.txt
index 5bad660f48..d7e1077d85 100644
--- a/docs/ref/urlresolvers.txt
+++ b/docs/ref/urlresolvers.txt
@@ -73,7 +73,7 @@ use for reversing. By default, the root URLconf for the current thread is used.
As part of working out which URL names map to which patterns, the
``reverse()`` function has to import all of your URLconf files and examine
the name of each view. This involves importing each view function. If
- there are *any* errors whilst importing any of your view functions, it
+ there are *any* errors while importing any of your view functions, it
will cause ``reverse()`` to raise an error, even if that view function is
not the one you are trying to reverse.