| Age | Commit message (Collapse) | Author |
|
|
|
Follow up to 6461583b6cc257d25880ef9a9fd7e2125ac53ce1.
|
|
|
|
check error.
Added minimal multiple inheritance test case showing error.
Removed obsolete diamond-inheritance case, originally added in
85ef98dc6ec565b1add417bd76808664e7318026.
|
|
|
|
|
|
|
|
contribute_to_class() to type.__new__().
|
|
|
|
|
|
|
|
Thanks Tim for the review.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Thanks Tim Graham and Simon Charette for the reviews.
|
|
|
|
|
|
|
|
assertSequenceEqual().
|
|
|
|
Fields inherited from abstract base classes may be overridden like
any other Python attribute. Inheriting from multiple models/classes
with the same attribute name will follow the MRO.
|
|
|
|
explicit parent links.
Thanks Trac alias trkjgrdg for the report and Tim for investigation and review.
|
|
|
|
|
|
|
|
|
|
related set.
|
|
ForeignKey/OneToOneField
|
|
|
|
Thanks to Tim for the review.
|
|
Kept support for creating models without migrations when running tests
(especially for Django's test suite).
|
|
|
|
Each TestCase is also now wrapped in a class-wide transaction.
|
|
|
|
|
|
|
|
|
|
The model_inheritance_same_model_name tests couldn't be run without the
model_inheritance tests. Make the problem go away by merging them.
Thanks timo for the report.
|
|
Thanks Anssi Kääriäinen for the suggestion.
|
|
Signed-off-by: Jason Myers <jason@jasonamyers.com>
|
|
Cleaned up the internal implementation of m2m fields by removing
related.py _get_fk_val(). The _get_fk_val() was doing the wrong thing
if asked for the foreign key value on foreign key to parent model's
primary key when child model had different primary key field.
|
|
|
|
An isnull lookup produced incorrect SQL. This was already fixed
earlier, so only tests added.
|
|
Fixed #11892, fixed #16458, fixed #14492.
|