summaryrefslogtreecommitdiff
path: root/tests/model_inheritance/test_abstract_inheritance.py
AgeCommit message (Collapse)Author
2025-09-05Fixed #36564 -- Changed DEFAULT_AUTO_FIELD from AutoField to BigAutoField.Tim Graham
2025-07-23Refs #36500 -- Rewrapped long docstrings and block comments via a script.django-bot
Rewrapped long docstrings and block comments to 79 characters + newline using script from https://github.com/medmunds/autofix-w505.
2025-05-08Fixed #36295, Refs #24305 -- Allowed overriding GenericForeignKey fields on ↵Ahmed Nassar
abstract models.
2022-02-07Refs #33476 -- Reformatted code with Black.django-bot
2021-10-06Fixed #33131 -- Improved error messages for clashing reverse accessor names.Bernd Wechner
2021-07-07Used more specific unittest assertions in tests.Mads Jensen
2021-06-15Fixed #30427, Fixed #16176 -- Corrected setting descriptor in ↵Carlton Gibson
Field.contribute_to_class(). Co-authored-by: Jarek Glowacki <jarekwg@gmail.com>
2021-06-15Refs #30427, Refs #16176 -- Added test for abstract model inheritance.Carlton Gibson
2020-12-29Added app labels to related fields checks messages E302-E305.Mariusz Felisiak
2020-04-08Fixed #31437 -- Corrected tests to show abstract multiple inheritance system ↵Carlton Gibson
check error. Added minimal multiple inheritance test case showing error. Removed obsolete diamond-inheritance case, originally added in 85ef98dc6ec565b1add417bd76808664e7318026.
2018-11-27Switched TestCase to SimpleTestCase where possible in Django's tests.Tim Graham
2017-07-29Used assertRaisesMessage() to test Django's error messages.Mads Jensen
2017-06-01Refs #23968 -- Removed unnecessary lists, generators, and tuple calls.Jon Dufresne
2017-01-19Refs #23919 -- Removed str() conversion of type and method __name__.Simon Charette
2017-01-19Refs #23919 -- Stopped inheriting from object to define new style classes.Simon Charette
2017-01-18Refs #23919 -- Removed encoding preambles and future importsClaude Paroz
2016-05-16Fixed #24305 -- Allowed overriding fields on abstract models.Aron Podrigal
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.