Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/tests/get_or_create/models.py
Commit message (Collapse)AuthorAgeFilesLines
* Fixed #21127 -- Started deprecation toward requiring ↵Flavio Curella2015-07-281-2/+7
| | | | on_delete for ForeignKey/OneToOneField
* Refs #22728 - Added missing tests for defaults__exact caseAndriy Sokolovskiy2015-06-051-0/+1
|
* Consolidated get_or_create tests.Aymeric Augustin2014-04-211-8/+14
|
* Fixed #16137 - Removed kwargs requirement for ↵Tim Graham2013-05-271-0/+5
| | | | | | | QuerySet.get_or_create Thanks wilfred@, poirier, and charettes for work on the patch.
* Lower the max length for a test field so that it works ↵Alex Gaynor2013-05-191-1/+1
| | | | on MySQL.
* Fixes #18896. Add tests verifying that you can get ↵Pablo Recio2013-05-191-0/+9
| | | | 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 Augustin2013-04-281-0/+4
| | | | | It used to raise "DatabaseError: no such savepoint" with the old transaction management. Closes #15117.
* Merged regressiontests and modeltests into the test root.Florian Apolloner2013-02-261-0/+26