Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Refs #33990 -- Renamed TransactionTestCase.assertQuerysetEqual() to ↵ | Gregor Gärtner | 2022-10-08 | 1 | -4/+4 |
| | | | | | | assertQuerySetEqual(). Co-Authored-By: Michael Howitz <mh@gocept.com> | ||||
* | Removed redundant QuerySet.all() calls in docs and tests. | Nick Pope | 2022-02-22 | 1 | -1/+1 |
| | | | | Most QuerySet methods are mapped onto the Manager and, in general, it isn't necessary to call .all() on the manager. | ||||
* | Refs #33476 -- Refactored code to strictly match 88 characters line length. | Mariusz Felisiak | 2022-02-07 | 1 | -1/+2 |
| | |||||
* | Refs #33476 -- Reformatted code with Black. | django-bot | 2022-02-07 | 2 | -144/+184 |
| | |||||
* | Fixed #31235 -- Made assertQuerysetEqual() compare querysets directly. | Hasan Ramezani | 2020-11-06 | 1 | -21/+18 |
| | | | | | | | | This also replaces assertQuerysetEqual() to assertSequenceEqual()/assertCountEqual() where appropriate. Co-authored-by: Peter Inglesby <peter.inglesby@gmail.com> Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com> | ||||
* | Removed unused __str__() methods in tests models. | Mariusz Felisiak | 2020-04-30 | 1 | -3/+0 |
| | | | Follow up to 6461583b6cc257d25880ef9a9fd7e2125ac53ce1. | ||||
* | Fixed #30159 -- Removed unneeded use of OrderedDict. | Nick Pope | 2019-02-06 | 1 | -22/+18 |
| | | | | Dicts preserve order since Python 3.6. | ||||
* | Switched setUp() to setUpTestData() where possible in Django's tests. | Simon Charette | 2018-11-27 | 1 | -2/+3 |
| | |||||
* | Refs #7070 -- Improved test for extra(), values(), distinct() and ordering() ↵ | Sergey Fedoseev | 2017-08-08 | 1 | -1/+2 |
| | | | | | | all together. Tested that the extra select that appears in the select clause only because of distinct() and order_by() doesn't appear in the result values. | ||||
* | Refs #23919 -- Replaced kwargs.pop() with keyword-only arguments. | Vytis Banaitis | 2017-02-01 | 1 | -4/+2 |
| | |||||
* | Refs #23919 -- Replaced super(ClassName, self) with super(). | chillaranand | 2017-01-25 | 1 | -2/+2 |
| | |||||
* | Refs #23919 -- Removed python_2_unicode_compatible decorator usage | Claude Paroz | 2017-01-18 | 1 | -3/+0 |
| | |||||
* | Refs #23919 -- Removed encoding preambles and future imports | Claude Paroz | 2017-01-18 | 2 | -4/+0 |
| | |||||
* | Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings. | za | 2016-11-10 | 1 | -1/+1 |
| | |||||
* | Fixed #27203 -- Replaced assertQuerysetEqual(..., lambda o: o) with ↵ | Mads Jensen | 2016-09-13 | 1 | -9/+4 |
| | | | | assertSequenceEqual(). | ||||
* | Fixed E128 flake8 warnings in tests/. | Tim Graham | 2016-04-08 | 1 | -9/+8 |
| | |||||
* | Fixed #23395 -- Limited line lengths to 119 characters. | Dražen Odobašić | 2015-09-12 | 1 | -19/+93 |
| | |||||
* | Fixed #21127 -- Started deprecation toward requiring on_delete for ↵ | Flavio Curella | 2015-07-27 | 1 | -2/+2 |
| | | | | ForeignKey/OneToOneField | ||||
* | Sorted imports with isort; refs #23860. | Tim Graham | 2015-02-06 | 1 | -2/+2 |
| | |||||
* | Fixed many typos in comments and docstrings. | Rodolfo Carvalho | 2014-03-03 | 1 | -1/+1 |
| | | | | Thanks Piotr Kasprzyk for help with the patch. | ||||
* | Fixed E124 pep8 warnings. | Loic Bistuer | 2013-12-10 | 1 | -12/+17 |
| | |||||
* | Fixed #20600 -- ordered distinct(*fields) in subqueries | Anssi Kääriäinen | 2013-11-07 | 1 | -0/+16 |
| | |||||
* | PEP8 cleanup | Jason Myers | 2013-11-02 | 1 | -0/+2 |
| | | | | Signed-off-by: Jason Myers <jason@jasonamyers.com> | ||||
* | Fixed flake8 E241 | Boryslav Larin | 2013-11-02 | 1 | -1/+1 |
| | |||||
* | Fix all violators of E231 | Alex Gaynor | 2013-10-26 | 2 | -18/+18 |
| | |||||
* | Fixed #21288 -- Fixed E126 pep8 warnings | Alasdair Nicol | 2013-10-21 | 1 | -16/+15 |
| | |||||
* | Removed unused local variables in tests. | Tim Graham | 2013-10-19 | 1 | -1/+1 |
| | |||||
* | Fixed #21285 -- Fixed E121,E122 pep8 warnings | Alasdair Nicol | 2013-10-17 | 1 | -2/+2 |
| | |||||
* | Whitespace cleanup. | Tim Graham | 2013-10-10 | 1 | -1/+0 |
| | | | | | | | * Removed trailing whitespace. * Added newline to EOF if missing. * Removed blank lines at EOF. * Removed some stray tabs. | ||||
* | Deprecated SortedDict (replaced with collections.OrderedDict) | Curtis Maloney | 2013-08-04 | 1 | -19/+19 |
| | | | | Thanks Loic Bistuer for the review. | ||||
* | Removed most of absolute_import imports | Claude Paroz | 2013-07-29 | 1 | -1/+1 |
| | | | | | Should be unneeded with Python 2.7 and up. Added some unicode_literals along the way. | ||||
* | Merged regressiontests and modeltests into the test root. | Florian Apolloner | 2013-02-26 | 3 | -0/+395 |