Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Refs #33990 -- Renamed TransactionTestCase.assertQuerysetEqual() to ↵ | Gregor Gärtner | 2022-10-08 | 1 | -10/+10 |
| | | | | | | assertQuerySetEqual(). Co-Authored-By: Michael Howitz <mh@gocept.com> | ||||
* | Fixed #33984 -- Reverted "Fixed #32980 -- Made models cache related managers." | Mariusz Felisiak | 2022-09-30 | 1 | -7/+2 |
| | | | | | | | | This reverts 4f8c7fd9d91b35e2c2922de4bb50c8c8066cbbc6 and adds two regression tests: - test_related_manager_refresh(), and - test_create_copy_with_m2m(). Thanks joeli for the report. | ||||
* | Refs #33476 -- Refactored code to strictly match 88 characters line length. | Mariusz Felisiak | 2022-02-07 | 1 | -1/+1 |
| | |||||
* | Refs #33476 -- Reformatted code with Black. | django-bot | 2022-02-07 | 4 | -50/+64 |
| | |||||
* | Fixed #32980 -- Made models cache related managers. | Keryn Knight | 2021-11-08 | 1 | -2/+5 |
| | |||||
* | Fixed #31863 -- Prevented mutating model state by copies of model instances. | Gert Burger | 2020-08-12 | 1 | -0/+15 |
| | | | | Regression in bfb746f983aa741afa3709794e70f1e0ab6040b5. | ||||
* | Optimized Model and QuerySet pickling version comparison. | Adam Johnson | 2020-05-11 | 1 | -2/+5 |
| | |||||
* | Removed unused __str__() methods in tests models. | Mariusz Felisiak | 2020-04-30 | 1 | -6/+0 |
| | | | Follow up to 6461583b6cc257d25880ef9a9fd7e2125ac53ce1. | ||||
* | Refs #23919 -- Replaced super(...) with super() in metaclasses. | Jon Dufresne | 2019-11-28 | 1 | -1/+1 |
| | |||||
* | Moved choices inside of a test model per coding style. | oliver | 2019-03-20 | 1 | -5/+4 |
| | | | Follow up to 3a4558b84f76c1dbe54c8c38e90e4048c2bd3e9a. | ||||
* | Fixed #30254 -- Allowed model metaclasses to access the attribute dict in ↵ | Matt Westcott | 2019-03-14 | 1 | -1/+19 |
| | | | | | | __init__(). Regression in a68ea231012434b522ce45c513d84add516afa60. | ||||
* | Switched TestCase to SimpleTestCase where possible in Django's tests. | Tim Graham | 2018-11-27 | 1 | -2/+2 |
| | |||||
* | Fixed #28776 -- Fixed a/an/and typos in docs and comments. | Дилян Палаузов | 2017-11-06 | 1 | -1/+1 |
| | |||||
* | Refs #28459 -- Optimized ModelState instantiation. | Sergey Fedoseev | 2017-08-11 | 1 | -0/+8 |
| | |||||
* | Fixed #28456 -- Allowed customizing Model pickling by overriding __getstate__(). | Nerl~ | 2017-08-11 | 1 | -0/+17 |
| | |||||
* | Refs #23919 -- Removed support for broken Model.__str__() in Model.__repr__(). | Tim Graham | 2017-06-11 | 2 | -15/+2 |
| | | | Returning invalid bytestrings in __str__() is unlikely in Python 3. | ||||
* | Refs #23919, #27778 -- Removed obsolete mentions of unicode. | Vytis Banaitis | 2017-01-26 | 2 | -5/+5 |
| | |||||
* | Refs #23919 -- Replaced super(ClassName, self) with super(). | chillaranand | 2017-01-25 | 1 | -2/+2 |
| | |||||
* | Refs #23919 -- Removed six.<various>_types usage | Claude Paroz | 2017-01-18 | 1 | -4/+2 |
| | | | | Thanks Tim Graham and Simon Charette for the reviews. | ||||
* | Refs #23919 -- Removed python_2_unicode_compatible decorator usage | Claude Paroz | 2017-01-18 | 1 | -5/+0 |
| | |||||
* | Refs #23919 -- Removed encoding preambles and future imports | Claude Paroz | 2017-01-18 | 2 | -5/+0 |
| | |||||
* | Fixed #27514 -- Tested Model.__init__ excessive number of fields. | Adam Chainz | 2016-11-20 | 1 | -0/+5 |
| | |||||
* | Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings. | za | 2016-11-10 | 1 | -9/+3 |
| | |||||
* | Tested Model.get_next/prev_by_FIELD() on unsaved models. | Tim Graham | 2016-10-11 | 1 | -0/+7 |
| | |||||
* | Refs #24007 -- Removed an apps.populate() call in model unpickling that can ↵ | Tim Graham | 2016-02-08 | 1 | -47/+1 |
| | | | | cause deadlocks. | ||||
* | Refs #26022 -- Used context manager version of assertRaises in tests. | Hasan | 2016-01-29 | 1 | -1/+2 |
| | |||||
* | Fixed #25745 -- Promoted RuntimeWarnings to errors in the test suite. | Simon Charette | 2015-11-14 | 1 | -13/+4 |
| | |||||
* | Fixed #21127 -- Started deprecation toward requiring on_delete for ↵ | Flavio Curella | 2015-07-27 | 1 | -3/+3 |
| | | | | ForeignKey/OneToOneField | ||||
* | Fixed model_regress test failure on non-ASCII path; refs #24717. | Tim Graham | 2015-04-30 | 1 | -2/+2 |
| | |||||
* | Fixed #24717 -- Fixed model_regress test failure on RHEL6 SCL | David D. Riddle | 2015-04-29 | 1 | -16/+14 |
| | | | | | | | | | | | The test failed on RHEL6 systems running python 2.7 from a RedHat Software Collection (SCL) because this test runs an external python script with a stripped system environment. RedHat SCLs work by setting a number of system environment variables when these are stripped out by this test the python 2.7 interpreter is no longer able to function properly because it can not find the system libraries needed. Now we use use mock to modify the system environment directly. | ||||
* | Fixed mistakes in tests unveiled by version bump to 1.8.1. | Tim Graham | 2015-04-02 | 1 | -6/+7 |
| | | | | Forwardport of e7366ab1f908b8cbf8d7e83037b5f17d101b5ade from stable/1.8.x | ||||
* | Normalized usage of the tempfile module. | Aymeric Augustin | 2015-02-23 | 1 | -2/+4 |
| | | | | Specifically stopped using the dir argument. | ||||
* | Fixed "environment can only contain strings" in model_regress test on Windows. | Tim Graham | 2015-02-17 | 1 | -1/+1 |
| | |||||
* | Refs #24324 -- Fixed UnicodeDecodeError in model_regress test on non-ASCII path. | Tim Graham | 2015-02-17 | 1 | -0/+1 |
| | |||||
* | Fixed E265 comment style | Collin Anderson | 2015-02-06 | 1 | -2/+2 |
| | |||||
* | Sorted imports with isort; refs #23860. | Tim Graham | 2015-02-06 | 3 | -6/+7 |
| | |||||
* | Fixed #24149 -- Normalized tuple settings to lists. | darkryder | 2015-02-03 | 1 | -1/+1 |
| | |||||
* | Fixed #24160 -- Fixed model_regress test on Windows; refs #24007. | Collin Anderson | 2015-01-16 | 1 | -9/+9 |
| | |||||
* | Revert "Marked a test as an expected failure on MySQL and Python 3.2." | Claude Paroz | 2015-01-11 | 1 | -8/+1 |
| | | | | | This reverts commit 832b4a5722ba6b55e7b17c3bac6614ecca9aa88d. We officially don't support MySQL on Python 3.2. Refs #20380. | ||||
* | Fixed refs #24007 test on Windows. | Tim Graham | 2014-12-19 | 1 | -3/+9 |
| | |||||
* | Made model_regress unpickling test CWD-independent | Claude Paroz | 2014-12-19 | 1 | -1/+4 |
| | | | | Refs #24007. Thanks Tim Graham for his help with the patch. | ||||
* | Allowed Python executable names other than python in test from refs #24007. | Collin Anderson | 2014-12-17 | 1 | -1/+2 |
| | |||||
* | Fixed #24007 -- Ensure apps registry's ready before unpickling models | Claude Paroz | 2014-12-17 | 1 | -0/+35 |
| | | | | | This prevents AppRegistryNotReady errors when unpickling Django models from an external script. | ||||
* | Added a missing unicode_literals that caused a test failure after refs #23226. | Tim Graham | 2014-08-07 | 1 | -0/+2 |
| | |||||
* | Fixed #21430 -- Added a RuntimeWarning when unpickling Models and QuerySets ↵ | Anubhav Joshi | 2014-06-11 | 1 | -0/+53 |
| | | | | | | | from a different Django version. Thanks FunkyBob for the suggestion, prasoon2211 for the initial patch, and akaariai, loic, and charettes for helping in shaping the patch. | ||||
* | Fix storing of binary fields and unicode textfields for Oracle/Python3 | Shai Berger | 2014-05-16 | 1 | -0/+11 |
| | |||||
* | Harmonized some PEP 0263 coding preambles | Claude Paroz | 2014-05-15 | 1 | -1/+1 |
| | |||||
* | Fixed many typos in comments and docstrings. | Rodolfo Carvalho | 2014-03-03 | 1 | -1/+1 |
| | | | | Thanks Piotr Kasprzyk for help with the patch. | ||||
* | Fixed #21288 -- Fixed E126 pep8 warnings | Alasdair Nicol | 2013-10-21 | 1 | -8/+8 |
| | |||||
* | Removed unused local variables in tests. | Tim Graham | 2013-10-19 | 1 | -1/+1 |
| |