summaryrefslogtreecommitdiff
path: root/tests/model_meta/models.py
AgeCommit message (Collapse)Author
2024-05-07Fixed #35407 -- Cached model's Options.swapped.Adam Johnson
2024-02-19Fixed #35232 -- Cached model's Options.verbose_name_raw.Adam Johnson
2023-02-01Refs #33476 -- Applied Black's 2023 stable style.David Smith
Black 23.1.0 is released which, as the first release of the year, introduces the 2023 stable style. This incorporates most of last year's preview style. https://github.com/psf/black/releases/tag/23.1.0
2022-02-07Refs #33476 -- Reformatted code with Black.django-bot
2021-08-06Refs #32983 -- Removed unneeded related_name from test model definitions.Nick Touran
2017-06-26Refs #23919 -- Stopped inheriting from object to define new style classes.Mariusz Felisiak
Tests and docs complement to cecc079168e8669138728d31611ff3a1e7eb3a9f.
2017-06-05Fixed #28269 -- Fixed Model.__init__() crash on models with a field that has ↵Adam Johnson
an instance only descriptor. Regression in d2a26c1a90e837777dabdf3d67ceec4d2a70fb86.
2017-06-05Added a test for Model._meta._property_names.Adam Johnson
2016-09-09Refs #25415 -- Fixed invalid models in the test suite.Adam Chainz
2015-10-12Refs #18012 -- Made proxy and concrete model reverse fields consistent.Simon Charette
Prior to this change proxy models reverse fields didn't include the reverse fields pointing to their concrete model.
2015-10-12Fixed #18012 -- Propagated reverse foreign keys from proxy to concrete models.Simon Charette
Thanks to Anssi for the review.
2015-07-27Fixed #21127 -- Started deprecation toward requiring on_delete for ↵Flavio Curella
ForeignKey/OneToOneField
2015-02-06Sorted imports with isort; refs #23860.Tim Graham
2015-02-03Fixed #24266 -- Changed get_parent_list to return a list ordered by MRO.Simon Charette
Thanks to Aron Podrigal for the initial patch and Tim for the review.
2014-06-19Refs #12663 -- Added tests for methods in db.models.options.Daniel Pyrathon
Thanks Russell Keith-Magee and Tim Graham for reviews.