Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Completed test coverage for django.utils.datastructures. | Marcelo Galigniana | 2023-02-15 | 1 | -0/+5 |
| | |||||
* | Refs #33476 -- Reformatted code with Black. | django-bot | 2022-02-07 | 1 | -127/+144 |
| | |||||
* | Refs #24121 -- Added __repr__() to OrderedSet. | Nick Pope | 2021-03-10 | 1 | -0/+4 |
| | |||||
* | Fixed #32517 -- Made OrderedSet reversible. | Diego Lima | 2021-03-08 | 1 | -1/+6 |
| | | | | Refs #32516. | ||||
* | Updated MultiValueDict.update() to mirror dict.update() behavior. | Nick Pope | 2020-10-30 | 1 | -0/+29 |
| | | | | | | | | | | | | Changes in behavior include: - Accepting iteration over empty sequences, updating nothing. - Accepting iterable of 2-tuples providing key-value pairs. - Failing with the same or comparable exceptions for invalid input. Notably this replaces the previous attempt to catch TypeError which was unreachable as the call to .items() resulted in AttributeError on non-dict objects. | ||||
* | Increased test coverage for django.utils.datastructures.MultiValueDict. | Nick Pope | 2020-10-30 | 1 | -24/+78 |
| | | | | Co-authored-by: Mads Jensen <mje@inducks.org> | ||||
* | Increased test coverage for django.utils.datastructures.OrderedSet. | Mads Jensen | 2020-10-30 | 1 | -0/+26 |
| | | | | Co-authored-by: Nick Pope <nick.pope@flightdataservices.com> | ||||
* | Used assertRaisesMessage() in various tests. | Hasan Ramezani | 2020-02-07 | 1 | -2/+1 |
| | |||||
* | Removed unneeded list() calls in sorted() argument. | Sergey Fedoseev | 2019-02-09 | 1 | -1/+1 |
| | |||||
* | Fixed #20147 -- Added HttpRequest.headers. | Santiago Basulto | 2019-01-16 | 1 | -2/+81 |
| | |||||
* | Used 4 space hanging indent for dictionaries. | Tim Graham | 2019-01-02 | 1 | -9/+2 |
| | | | Thanks Mariusz Felisiak for auditing. | ||||
* | Fixed #28249 -- Removed unnecessary dict.keys() calls. | Jon Dufresne | 2017-05-27 | 1 | -2/+2 |
| | | | iter(dict) is equivalent to iter(dict.keys()). | ||||
* | Fixed #28064 -- Removed double-quoting of key names in MultiValueDictKeyError. | petedmarsh | 2017-04-11 | 1 | -1/+2 |
| | |||||
* | Refs #23919 -- Removed most of remaining six usage | Claude Paroz | 2017-01-18 | 1 | -7/+5 |
| | | | | Thanks Tim Graham for the review. | ||||
* | Fixed #27583 -- Fixed MultiValueDict.getlist() crash when values for key is ↵ | Mariusz Felisiak | 2016-12-09 | 1 | -0/+5 |
| | | | | | None. Restored the behavior before 727d7ce6cba21363470aaefb2dc5353017531be3. | ||||
* | Fixed #27198 -- Made MultiValueDict.getlist() return a new list to prevent ↵ | Jani Tiainen | 2016-09-16 | 1 | -0/+18 |
| | | | | mutation. | ||||
* | Fixed #26747 -- Used more specific assertions in the Django test suite. | Jon Dufresne | 2016-06-16 | 1 | -1/+1 |
| | |||||
* | Refs #26022 -- Replaced six.assertRaisesRegex with assertRaisesMessage as ↵ | Hasan | 2016-01-29 | 1 | -2/+2 |
| | | | | appropriate. | ||||
* | Refs #26022 -- Used context manager version of assertRaisesMessage in tests. | Hasan | 2016-01-29 | 1 | -4/+4 |
| | |||||
* | Fixed #26125 -- Fixed E731 flake warnings. | userimack | 2016-01-25 | 1 | -1/+2 |
| | |||||
* | Fixed #25093 -- Added utils.datastructures.OrderedSet.__len__() | darkryder | 2015-07-09 | 1 | -0/+8 |
| | |||||
* | Removed redundant list() calls. | Tim Graham | 2015-05-16 | 1 | -3/+3 |
| | |||||
* | Sorted imports with isort; refs #23860. | Tim Graham | 2015-02-06 | 1 | -2/+4 |
| | |||||
* | Removed django.utils.datastructures.SortedDict per deprecation timeline. | Tim Graham | 2015-01-17 | 1 | -129/+2 |
| | |||||
* | Removed django.utils.datastructures.MergeDict per deprecation timeline; refs ↵ | Tim Graham | 2015-01-17 | 1 | -72/+1 |
| | | | | #18659. | ||||
* | Applied ignore_warnings to Django tests | Claude Paroz | 2014-12-30 | 1 | -4/+6 |
| | |||||
* | Fixed #23620 -- Used more specific assertions in the Django test suite. | Berker Peksag | 2014-11-03 | 1 | -1/+1 |
| | |||||
* | Fixed #23664 -- Provided a consistent definition for OrderedSet.__bool__ | Thomas Chaumeny | 2014-10-16 | 1 | -1/+11 |
| | | | | This also defines QuerySet.__bool__ for consistency though this should not have any consequence as bool(qs) used to fallback on QuerySet.__len__ in Py3. | ||||
* | Fixed #22338 -- Fixed a test dependent on dictionary key iteration order. | Tim Graham | 2014-03-30 | 1 | -1/+1 |
| | |||||
* | Advanced deprecation warnings for 1.8. | Aymeric Augustin | 2014-03-22 | 1 | -3/+3 |
| | |||||
* | Fixed E127 pep8 warnings. | Loic Bistuer | 2013-12-14 | 1 | -14/+22 |
| | |||||
* | Fix all violators of E231 | Alex Gaynor | 2013-10-26 | 1 | -7/+7 |
| | |||||
* | Removed unused local variables in tests. | Tim Graham | 2013-10-19 | 1 | -2/+0 |
| | |||||
* | Fixed #18659 -- Deprecated request.REQUEST and MergeDict | Bouke Haarsma | 2013-10-17 | 1 | -1/+1 |
| | | | | Thanks Aymeric Augustin for the suggestion. | ||||
* | Fixed #15625 -- Made message in MultiValueDictKeyError less verbose. | Tim Graham | 2013-09-18 | 1 | -5/+1 |
| | | | | Thanks margieroginski for the suggestion. | ||||
* | Silenced deprecation warnings in SortedDict tests; refs [07876cf02b] | Tim Graham | 2013-09-03 | 1 | -1/+3 |
| | |||||
* | Replaced "not PY3" by "PY2", new in six 1.4.0. | Aymeric Augustin | 2013-09-02 | 1 | -1/+1 |
| | |||||
* | Removed insert(), value_for_insert() SortedDict methods deprecated in Django ↵ | Ramiro Morales | 2013-06-28 | 1 | -15/+0 |
| | | | | 1.5. | ||||
* | Fixed #20321 -- Added missing key name in MergeDict KeyError message | Claude Paroz | 2013-04-26 | 1 | -0/+8 |
| | | | | Thanks mark.harviston et gmail.com for the report. | ||||
* | Fixed #20276 -- Implemented __bool__ for MergeDict | Anton Baklanov | 2013-04-19 | 1 | -0/+7 |
| | | | | | MergeDict evaluates now to False if all contained dicts are empty. Thanks til for the report and the initial patch. | ||||
* | Modified utils_tests for unittest2 discovery. | Preston Timmons | 2013-04-12 | 1 | -0/+306 |