| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
on_delete for ForeignKey/OneToOneField
|
|
|
|
|
|
|
|
|
| |
some queries
When the query's model had a self-referential foreign key, the
compiler.get_group_by() code incorrectly used the self-referential
foreign key's column (for example parent_id) as GROUP BY clause
when it should have used the model's primary key column (id).
|
| |
|
| |
|
|
|
|
|
|
|
| |
It contained models, forms and admin objects causing undesirable
import side effects. Refs #16368.
Thanks to Ramiro, Carl and Loïc for the review.
|
|
|
|
| |
Signed-off-by: Jason Myers <jason@jasonamyers.com>
|
|
|
|
|
|
|
| |
There were multiple cases where join promotion was a bit too aggressive.
This resulted in using outer joins where not necessary.
Refs #21150.
|
|
|
|
|
|
|
| |
failure
Added tests for a .annotate().select_related() join promotion failure.
This happened to work on master but was currently untested.
|
|
|
|
|
|
|
| |
BooleanField does not have a default value
Thanks to Collin Anderson for the suggestion and Tim Graham for
reviewing the patch.
|
|
|