| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
reverse side of a related set.
|
|
|
|
|
| |
Added support for multiple m2m fields with the same 'to' model
and with related_name set to '+'.
|
| |
|
|
|
|
|
|
| |
clear data
Refs #14394.
|
|
|
|
| |
Django test suite.
|
|
|
|
|
|
| |
are ignored for ManyToManyField.
Thanks Loic Bistuer and Tim Graham for help and review.
|
|
|
|
| |
version of flake8 catches
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
Signed-off-by: Jason Myers <jason@jasonamyers.com>
|
|
|
|
|
|
|
| |
* Removed trailing whitespace.
* Added newline to EOF if missing.
* Removed blank lines at EOF.
* Removed some stray tabs.
|
| |
|
|
|
|
|
| |
Should be unneeded with Python 2.7 and up.
Added some unicode_literals along the way.
|
|
|