diff options
author | Paul Grau <graup@users.noreply.github.com> | 2020-10-08 21:19:51 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-08 14:19:51 +0200 |
commit | 855fc06236630464055b4f9ea422c68a07c6d02a (patch) | |
tree | 6ca3617c8fec191bc40cdaa80732e0c123fb5448 | |
parent | 1b32b2f614c5c45f4a0f270ae7273c2d8e16617b (diff) | |
download | django-855fc06236630464055b4f9ea422c68a07c6d02a.tar.gz |
Fixed #29356 -- Clarified docs for QueryDict.getlist() default.
-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 17aebf2317..4528373b8c 100644 --- a/docs/ref/request-response.txt +++ b/docs/ref/request-response.txt @@ -584,8 +584,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_) |