Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/tests/m2m_regress
Commit message (Collapse)AuthorAgeFilesLines
* Fixed #25550 -- Deprecated direct assignment to the ↵Tim Graham2015-10-271-3/+3
| | | | reverse side of a related set.
* Fixed #24505 -- Fixed clash with hidden m2m fields.Marco Fucci2015-03-272-1/+23
| | | | | Added support for multiple m2m fields with the same 'to' model and with related_name set to '+'.
* Sorted imports with isort; refs #23860.Tim Graham2015-02-061-2/+4
|
* Added a test to ensure bad assignation to M2M doesn't ↵Claude Paroz2014-12-241-0/+12
| | | | | | clear data Refs #14394.
* Fixed #23620 -- Used more specific assertions in the ↵Berker Peksag2014-11-031-4/+4
| | | | Django test suite.
* Fixed #19671 -- Added warnings that null and validators ↵Anubhav Joshi2014-07-091-1/+1
| | | | | | are ignored for ManyToManyField. Thanks Loic Bistuer and Tim Graham for help and review.
* Corrected many style guide violations that the newest ↵Alex Gaynor2014-03-301-1/+1
| | | | version of flake8 catches
* Fixed #19816 -- Pre-evaluate querysets used in direct ↵Loic Bistuer2014-03-301-12/+0
| | | | | | | | | | | | relation assignments. Since assignments on M2M or reverse FK descriptors is composed of a `clear()`, followed by an `add()`, `clear()` could potentially affect the value of the assigned queryset before the `add()` step; pre-evaluating it solves the problem. This patch fixes the issue for ForeignRelatedObjectsDescriptor, ManyRelatedObjectsDescriptor, and ReverseGenericRelatedObjectsDescriptor. It completes 6cb6e1 which addressed ReverseManyRelatedObjectsDescriptor.
* Fixed E124 pep8 warnings.Loic Bistuer2013-12-101-1/+2
|
* PEP8 cleanupJason Myers2013-11-031-0/+9
| | | | Signed-off-by: Jason Myers <jason@jasonamyers.com>
* Whitespace cleanup.Tim Graham2013-10-101-1/+0
| | | | | | | * Removed trailing whitespace. * Added newline to EOF if missing. * Removed blank lines at EOF. * Removed some stray tabs.
* Updated syncdb -> migrate in tests.Tim Graham2013-09-031-1/+1
|
* Removed most of absolute_import importsClaude Paroz2013-07-291-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 Apolloner2013-02-263-0/+191