1
0
mirror of https://github.com/django/django.git synced 2025-10-26 07:06:08 +00:00

Removed British/Austrialian word: whilist.

This commit is contained in:
Tim Graham
2015-12-31 14:29:52 -05:00
parent 16411b8400
commit 98839e9066
6 changed files with 7 additions and 7 deletions

View File

@@ -295,7 +295,7 @@ class SessionBase(object):
def cycle_key(self):
"""
Creates a new session key, whilst retaining the current session data.
Creates a new session key, while retaining the current session data.
"""
data = self._session_cache
key = self.session_key

View File

@@ -61,7 +61,7 @@ def condition(etag_func=None, last_modified_func=None):
The parameters are callables to compute the ETag and last modified time for
the requested resource, respectively. The callables are passed the same
parameters as the view itself. The Etag function should return a string (or
None if the resource doesn't exist), whilst the last_modified function
None if the resource doesn't exist), while the last_modified function
should return a datetime object (or None if the resource doesn't exist).
If both parameters are provided, all the preconditions must be met before