| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2017-11-28 | [2.0.x] Fixed #28837 -- Fixed test client crash if an exception with more ↵ | Nicolas Delaby | |
| than one arg is raised. Also removed usage of the problematic pattern elsewhere. Regression in 6e55e1d88a5c4453e25f0caf7ffb68973de5c0ba. Backport of 746caf3ef821dbf7588797cb2600fa81b9df9d1d from master | |||
| 2017-09-06 | Refs #23919 -- Replaced usage of django.utils.functional.curry() with ↵ | Sergey Fedoseev | |
| functools.partial()/partialmethod(). | |||
| 2017-05-09 | Fixed #28081 -- Stopped setting Content-Length=0 in ↵ | João Silva | |
| conditional_content_removal() per RFC 7230. | |||
| 2017-03-07 | Refs #27622 -- Fixed a regression in JSON content-type detection | Claude Paroz | |
| A JSON Content-Type can contain further content, like charset for example. | |||
| 2017-03-04 | Refs #27656 -- Updated remaining docstring verbs according to PEP 257. | Anton Samarchyan | |
| 2017-02-23 | Refs #23919 -- Used yield from. | Vytis Banaitis | |
| 2017-02-09 | Fixed #26005 -- Fixed some percent decoding cases in uri_to_iri(). | Chronial | |
| 2017-02-09 | Refs #23919 -- Removed default 'utf-8' argument for str.encode()/decode(). | Tim Graham | |
| 2017-01-25 | Refs #23919 -- Replaced super(ClassName, self) with super(). | chillaranand | |
| 2017-01-22 | Refs #23919 -- Replaced six.reraise by raise | Claude Paroz | |
| 2017-01-20 | Refs #23919 -- Removed unneeded str() calls | Claude Paroz | |
| 2017-01-20 | Refs #23919 -- Removed unneeded force_str calls | Claude Paroz | |
| 2017-01-19 | Refs #23919 -- Stopped inheriting from object to define new style classes. | Simon Charette | |
| 2017-01-18 | Refs #23919 -- Removed most of remaining six usage | Claude Paroz | |
| Thanks Tim Graham for the review. | |||
| 2017-01-18 | Refs #23919 -- Removed six.<various>_types usage | Claude Paroz | |
| Thanks Tim Graham and Simon Charette for the reviews. | |||
| 2017-01-18 | Refs #23919 -- Removed six.PY2/PY3 usage | Claude Paroz | |
| Thanks Tim Graham for the review. | |||
| 2017-01-18 | Refs #23919 -- Removed encoding preambles and future imports | Claude Paroz | |
| 2016-12-29 | Fixed #27622 -- Allowed test client to accept vendor tree JSON content types. | Anton Samarchyan | |
| 2016-12-01 | Fixed #27542 -- Made Client.force_login() skip auth backends without get_user(). | Anton Samarchyan | |
| 2016-11-21 | Fixed #27516 -- Made test client's response.json() cache the parsed JSON. | Adam Chainz | |
| 2016-11-09 | Fixed #27184 -- Allowed uploading TemporaryFile with the test client. | Tom Scrace | |
| Thanks Federico Capoano for finishing the patch. | |||
| 2016-09-17 | Refs #27025 -- Fixed "invalid escape sequence" warnings in Python 3.6. | Tim Graham | |
| http://bugs.python.org/issue27364 | |||
| 2016-08-25 | Replaced property() usage with decorator in several places. | Berker Peksag | |
| 2016-08-06 | Fixed #27027 -- Restored Client.force_login() defaulting to the first auth ↵ | Ben Demboski | |
| backend. | |||
| 2016-05-17 | Fixed #26601 -- Improved middleware per DEP 0005. | Florian Apolloner | |
| Thanks Tim Graham for polishing the patch, updating the tests, and writing documentation. Thanks Carl Meyer for shepherding the DEP. | |||
| 2016-05-03 | Fixed #26567 -- Updated references to obsolete RFC2616. | Vasiliy Faronov | |
| Didn't touch comments where it wasn't obvious that the code adhered to the newer standard. | |||
| 2016-04-29 | Refs #26428 -- Added support for relative path redirects to the test client. | Tim Graham | |
| Thanks iktyrrell for the patch. | |||
| 2016-04-25 | Fixed #26052 -- Moved conditional_content_removal() processing to the test ↵ | Tim Graham | |
| client. | |||
| 2016-04-04 | Fixed #25699 -- Allowed using the test client if 'django.contrib.sessions' ↵ | Sergey Kolosov | |
| isn't in INSTALLED_APPS. | |||
| 2016-03-23 | Fixed #24987 -- Allowed inactive users to login with the test client. | Alexander Gaevsky | |
| 2016-01-25 | Fixed #26125 -- Fixed E731 flake warnings. | userimack | |
| 2016-01-07 | Fixed #24855 -- Allowed using contrib.auth.login() without credentials. | Paulo Poiati | |
| Added an optional `backend` argument to login(). | |||
| 2016-01-05 | Replaced dict.setdefault() usage to avoid unnecessary object instantiations. | Benjamin Bach | |
| 2015-12-31 | Fixed #26013 -- Moved django.core.urlresolvers to django.urls. | Marten Kenbeek | |
| Thanks to Tim Graham for the review. | |||
| 2015-09-19 | Fixed #25424 -- Use force_str for test client URLs. | Travis Jensen | |
| urlparse() fails with an AttributeError ("'__proxy__' object has no attribute 'decode'") if reverse_lazy is used to look up the URL (this is exactly the same problem that caused ticket #18776). The solution is to use force_str() on the path before handing it to urlparse(). | |||
| 2015-09-12 | Fixed #23395 -- Limited line lengths to 119 characters. | Dražen Odobašić | |
| 2015-08-11 | Fixed #25163 -- Fixed exception handling in nested test client requests. | pscottdevos | |
| 2015-07-01 | Fixed #20916 -- Added Client.force_login() to bypass authentication. | Jon Dufresne | |
| 2015-05-25 | Fixed #24773 -- Added a json() method on test client responses. | Andy McKay | |
| 2015-05-13 | Removed unnecessary arguments in .get method calls | Piotr Jakimiak | |
| 2015-02-06 | Sorted imports with isort; refs #23860. | Tim Graham | |
| 2014-12-08 | Fixed #23968 -- Replaced list comprehension with generators and dict ↵ | Jon Dufresne | |
| comprehension | |||
| 2014-12-04 | Fixed #23911 -- Added support for buffer file uploads in the test client | Thomas Tanner | |
| 2014-11-25 | Fixed #23682 -- Enhanced circular redirects detection in tests. | wrwrwr | |
| When the test client detects a redirect to a URL seen in the currently followed chain it will now raise a RedirectCycleError instead of just returning the first repeated response. It will also complain when a single chain of redirects is longer than 20, as this often means a redirect loop with varying URLs, and even if it's not actually one, such long chains are likely to be treated as loops by browsers. Thanks Preston Timmons, Berker Peksag, and Tim Graham for reviews. | |||
| 2014-10-28 | Fixed #23606 -- Implemented Client and RequestFactory trace() methods. | Rigel Di Scala | |
| Thanks KevinEtienne for the suggestion. | |||
| 2014-10-21 | Fixed #21740 -- Allowed test client data to be an empty string | Claude Paroz | |
| This fixes a regression introduced by 2a31d00933. Thanks tony-zhu for the report. | |||
| 2014-10-16 | Fixed #19508 -- Implemented uri_to_iri as per RFC. | Anubhav Joshi | |
| Thanks Loic Bistuer for helping in shaping the patch and Claude Paroz for the review. | |||
| 2014-08-29 | Fixed #21483 -- Added WSGI environ to kwargs sent to request_started signal. | Joshua "jag" Ginsberg | |
| 2014-06-13 | Fixed #22771 -- Fixed test.Client.logout when using custom auth backend. | Xavier Fernandez | |
| 2014-06-13 | Fixed #16087 -- Added ResolverMatch instance to test client response. | Greg Chapple | |
| Thanks mrmachine for the suggestion. | |||
