diff options
| author | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2016-12-09 21:31:52 +0100 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2016-12-09 15:31:52 -0500 |
| commit | 8e3a72f4fb4e9d3f93c7d966c13d4e7446b1949e (patch) | |
| tree | d2ed6de49d57d850921bf66a55553f668cb3b3db /django/utils/datastructures.py | |
| parent | 4de8aaf7ffc91b91cbb70e9db406abe9b160575a (diff) | |
Fixed #27583 -- Fixed MultiValueDict.getlist() crash when values for key is None.
Restored the behavior before 727d7ce6cba21363470aaefb2dc5353017531be3.
Diffstat (limited to 'django/utils/datastructures.py')
| -rw-r--r-- | django/utils/datastructures.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/django/utils/datastructures.py b/django/utils/datastructures.py index 1673ee10e8..a95f8c351a 100644 --- a/django/utils/datastructures.py +++ b/django/utils/datastructures.py @@ -146,7 +146,7 @@ class MultiValueDict(dict): return default else: if force_list: - values = list(values) + values = list(values) if values is not None else None return values def getlist(self, key, default=None): |
