Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Refs #33990 -- Renamed TransactionTestCase.assertQuerysetEqual() to ↵ | Gregor Gärtner | 2022-10-08 | 1 | -1/+1 |
| | | | | | | assertQuerySetEqual(). Co-Authored-By: Michael Howitz <mh@gocept.com> | ||||
* | Relaxed some query ordering assertions in various tests. | Mariusz Felisiak | 2022-04-14 | 1 | -2/+8 |
| | | | It accounts for differences seen on MySQL with MyISAM storage engine. | ||||
* | Removed redundant QuerySet.all() calls in docs and tests. | Nick Pope | 2022-02-22 | 1 | -6/+6 |
| | | | | 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 | -3/+7 |
| | |||||
* | Refs #33476 -- Reformatted code with Black. | django-bot | 2022-02-07 | 1 | -174/+196 |
| | |||||
* | Fixed #31235 -- Made assertQuerysetEqual() compare querysets directly. | Hasan Ramezani | 2020-11-06 | 1 | -1/+4 |
| | | | | | | | | 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 serial pk assumption from ↵ | Tim Graham | 2020-11-03 | 1 | -7/+7 |
| | | | | FormfieldShouldDeleteFormTests.test_custom_delete. | ||||
* | Used 4 space hanging indent for dictionaries. | Tim Graham | 2019-01-02 | 1 | -4/+6 |
| | | | Thanks Mariusz Felisiak for auditing. | ||||
* | Fixed #29981 -- Fixed inline formsets with a OnetoOneField primary key that ↵ | Patrik Sletmo | 2019-01-01 | 1 | -2/+10 |
| | | | | uses to_field. | ||||
* | Fixed hanging indentation in various code. | Mariusz Felisiak | 2018-03-16 | 1 | -2/+1 |
| | |||||
* | Removed unnecessary trailing commas and spaces in various code. | Mariusz Felisiak | 2017-12-28 | 1 | -1/+1 |
| | |||||
* | Refs #23919 -- Replaced super(ClassName, self) with super(). | chillaranand | 2017-01-25 | 1 | -1/+1 |
| | |||||
* | Refs #23919 -- Stopped inheriting from object to define new style classes. | Simon Charette | 2017-01-19 | 1 | -1/+1 |
| | |||||
* | Refs #23919 -- Removed six.<various>_types usage | Claude Paroz | 2017-01-18 | 1 | -8/+7 |
| | | | | Thanks Tim Graham and Simon Charette for the reviews. | ||||
* | Refs #23919 -- Removed encoding preambles and future imports | Claude Paroz | 2017-01-18 | 1 | -2/+0 |
| | |||||
* | Fixed #23395 -- Limited line lengths to 119 characters. | Dražen Odobašić | 2015-09-12 | 1 | -1/+4 |
| | |||||
* | Fixed #25331 -- Removed trailing blank lines in docstrings. | Maxime Lorant | 2015-08-31 | 1 | -1/+0 |
| | |||||
* | Sorted imports with isort; refs #23860. | Tim Graham | 2015-02-06 | 1 | -4/+7 |
| | |||||
* | Fixed #23968 -- Replaced list comprehension with generators and dict ↵ | Jon Dufresne | 2014-12-08 | 1 | -9/+9 |
| | | | | comprehension | ||||
* | Fixed #23620 -- Used more specific assertions in the Django test suite. | Berker Peksag | 2014-11-03 | 1 | -3/+3 |
| | |||||
* | Fixed #13794 -- Fixed to_field usage in BaseInlineFormSet. | Tim Graham | 2014-07-09 | 1 | -1/+35 |
| | | | | | Thanks sebastien at clarisys.fr for the report and gautier for the patch. | ||||
* | PEP8 | Jason Myers | 2013-11-02 | 1 | -0/+1 |
| | | | | Signed-off-by: Jason Myers <jason@jasonamyers.com> | ||||
* | Fixed #14877 -- repeated deletion using formsets | Anssi Kääriäinen | 2013-10-30 | 1 | -0/+49 |
| | | | | | | | | | | | | | When a formset contained deletion for an existing instance, and the instance was already deleted, django threw an exception. A common cause for this was resubmit of the formset. Original patch by Trac alias olau. In addition this commit cleaned some code in _construct_form(). This was needed as the primary key value the user submitted wasn't converted correctly to python value in case the primary key field was also a related field. | ||||
* | Fix all violators of E231 | Alex Gaynor | 2013-10-26 | 1 | -3/+3 |
| | |||||
* | Fixed #21288 -- Fixed E126 pep8 warnings | Alasdair Nicol | 2013-10-21 | 1 | -17/+17 |
| | |||||
* | Removed unused local variables in tests. | Tim Graham | 2013-10-19 | 1 | -2/+2 |
| | |||||
* | Fixed #21287 -- Fixed E123 pep8 warnings | Alasdair Nicol | 2013-10-18 | 1 | -1/+1 |
| | |||||
* | Fixed #17627 -- Renamed util.py files to utils.py | Tim Graham | 2013-09-16 | 1 | -1/+1 |
| | | | | | Thanks PaulM for the suggestion and Luke Granger-Brown and Wiktor Kołodziej for the initial patch. | ||||
* | 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. | ||||
* | Use assertIsInstance in tests. | Marc Tamlyn | 2013-05-21 | 1 | -8/+8 |
| | | | | Gives much nicer errors when it fails. | ||||
* | Fixed #13546 -- Easier handling of localize field options in ModelForm | Erik Romijn | 2013-05-18 | 1 | -1/+6 |
| | |||||
* | Fixed #19733 - deprecated ModelForms without 'fields' or 'exclude', and ↵ | Luke Plant | 2013-05-09 | 1 | -13/+15 |
| | | | | | | | | added '__all__' shortcut This also updates all dependent functionality, including modelform_factory and modelformset_factory, and the generic views `ModelFormMixin`, `CreateView` and `UpdateView` which gain a new `fields` attribute. | ||||
* | Merged regressiontests and modeltests into the test root. | Florian Apolloner | 2013-02-26 | 1 | -0/+449 |