diff options
| author | Paul Grau <graup@users.noreply.github.com> | 2020-10-08 21:19:51 +0900 |
|---|---|---|
| committer | Carlton Gibson <carlton.gibson@noumenal.es> | 2020-10-08 14:20:38 +0200 |
| commit | b0e5e7b67153e6252bcad959ccb061402e7ecd58 (patch) | |
| tree | fa112a37b0bb9b6ce176953f5cd6f70ad5145cfd /docs/ref | |
| parent | d1f791d394a4dca5c41e0f42f819c5b297b8fae1 (diff) | |
[3.1.x] Fixed #29356 -- Clarified docs for QueryDict.getlist() default.
Backport of 855fc06236630464055b4f9ea422c68a07c6d02a from master
Diffstat (limited to 'docs/ref')
| -rw-r--r-- | docs/ref/request-response.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/ref/request-response.txt b/docs/ref/request-response.txt index ca243cbf37..a91e28c34f 100644 --- a/docs/ref/request-response.txt +++ b/docs/ref/request-response.txt @@ -588,8 +588,8 @@ In addition, ``QueryDict`` has the following methods: .. method:: QueryDict.getlist(key, default=None) Returns a list of the data with the requested key. Returns an empty list if - the key doesn't exist and a default value wasn't provided. It's guaranteed - to return a list unless the default value provided isn't a list. + the key doesn't exist and ``default`` is ``None``. It's guaranteed to + return a list unless the default value provided isn't a list. .. method:: QueryDict.setlist(key, list_) |
