Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fixed #21127 -- Started deprecation toward requiring ↵ | Flavio Curella | 2015-07-28 | 1 | -2/+7 |
| | | | | on_delete for ForeignKey/OneToOneField | ||||
* | Refs #22728 - Added missing tests for defaults__exact case | Andriy Sokolovskiy | 2015-06-05 | 2 | -0/+45 |
| | |||||
* | Sorted imports with isort; refs #23860. | Tim Graham | 2015-02-06 | 1 | -5/+7 |
| | |||||
* | Applied ignore_warnings to Django tests | Claude Paroz | 2014-12-30 | 1 | -8/+6 |
| | |||||
* | Fixed misplaced test case. | Loic Bistuer | 2014-10-08 | 1 | -59/+59 |
| | |||||
* | Fixed #23611 -- update_or_create failing from a related ↵ | Loic Bistuer | 2014-10-07 | 1 | -1/+52 |
| | | | | | | | | manager Added update_or_create to RelatedManager, ManyRelatedManager and GenericRelatedObjectManager. Added missing get_or_create to GenericRelatedObjectManager. | ||||
* | Consolidated get_or_create tests. | Aymeric Augustin | 2014-04-21 | 2 | -9/+75 |
| | |||||
* | Fixed flake8 warnings introduced in recent commits. | Simon Charette | 2014-04-16 | 1 | -9/+8 |
| | |||||
* | Refs #18586 - Refactored model get_or_create test. | Liav Koren | 2014-04-15 | 1 | -27/+66 |
| | | | | | Refactored get_or_create test into several smaller test functions across two different test classes. Also converted the comments over to docstrings. | ||||
* | Fixed E124 pep8 warnings. | Loic Bistuer | 2013-12-10 | 1 | -3/+6 |
| | |||||
* | Removed unused local variables in tests. | Tim Graham | 2013-10-19 | 1 | -3/+3 |
| | |||||
* | Translated a test to English for consistency. | Aymeric Augustin | 2013-09-22 | 1 | -1/+1 |
| | | | | Also fixed a typo. | ||||
* | Removed most of absolute_import imports | Claude Paroz | 2013-07-29 | 1 | -2/+2 |
| | | | | | Should be unneeded with Python 2.7 and up. Added some unicode_literals along the way. | ||||
* | Fixed #20429 -- Added QuerySet.update_or_create | Karol Sikora | 2013-07-12 | 1 | -0/+65 |
| | | | | Thanks tunixman for the suggestion and Loic Bistuer for the review. | ||||
* | Defined available_apps in relevant tests. | Aymeric Augustin | 2013-06-10 | 1 | -0/+2 |
| | | | | Fixed #20483. | ||||
* | Fixed #16137 - Removed kwargs requirement for ↵ | Tim Graham | 2013-05-27 | 2 | -1/+14 |
| | | | | | | | QuerySet.get_or_create Thanks wilfred@, poirier, and charettes for work on the patch. | ||||
* | Fixed get_or_create...test_savepoint_rollback test for ↵ | Shai Berger | 2013-05-26 | 1 | -1/+1 |
| | | | | | | Python3 The test was always skipped on Python3 because string literals are unicode | ||||
* | Fix get_or_create test failure under Oracle | Shai Berger | 2013-05-26 | 1 | -1/+2 |
| | | | | | Test expected that when given invalid utf-8, the backend should raise a DatabaseError, but the Oracle backend raises a UnicodeDecodeError. | ||||
* | Fixed #20463 -- Made get_or_create more robust. | Aymeric Augustin | 2013-05-22 | 1 | -1/+19 |
| | | | | | | | When an exception other than IntegrityError was raised, get_or_create could fail and leave the database connection in an unusable state. Thanks UloPe for the report. | ||||
* | Lower the max length for a test field so that it works ↵ | Alex Gaynor | 2013-05-19 | 1 | -1/+1 |
| | | | | on MySQL. | ||||
* | Fixes #18896. Add tests verifying that you can get ↵ | Pablo Recio | 2013-05-19 | 2 | -1/+35 |
| | | | | IntegrityErrors using get_or_create through relations like M2M, and it also adds a note into the documentation warning about it | ||||
* | Tested that get_or_create raises IntegrityError. | Aymeric Augustin | 2013-04-28 | 2 | -2/+19 |
| | | | | | It used to raise "DatabaseError: no such savepoint" with the old transaction management. Closes #15117. | ||||
* | Merged regressiontests and modeltests into the test root. | Florian Apolloner | 2013-02-26 | 3 | -0/+92 |