summaryrefslogtreecommitdiff
path: root/tests/fixtures_regress/models.py
AgeCommit message (Collapse)Author
2022-03-18Fixed #33582 -- Fixed deserializing natural keys with foreing key ↵François Granade
dependencies in a multiple database setup.
2022-02-07Refs #33476 -- Reformatted code with Black.django-bot
2020-04-07Enforced uniqueness of natural keys used in tests.Mariusz Felisiak
2018-12-27Followed style guide for model attribute ordering.Matt Wiens
2017-01-18Refs #23919 -- Removed six.<various>_types usageClaude Paroz
Thanks Tim Graham and Simon Charette for the reviews.
2017-01-18Refs #23919 -- Removed python_2_unicode_compatible decorator usageClaude Paroz
2017-01-18Refs #23919 -- Removed encoding preambles and future importsClaude Paroz
2015-07-27Fixed #21127 -- Started deprecation toward requiring on_delete for ↵Flavio Curella
ForeignKey/OneToOneField
2014-12-23Removed unneeded null param to ManyToManyFieldClaude Paroz
2014-12-23Fixed #17946 -- Fixed deserialization of self-referencing M2M fieldsClaude Paroz
Thanks Philip Mountifield for the report and excellent analysis, and Simon Charette for the review.
2014-05-17Fixed #22421 -- Regression in fixtures loading.Ramiro Morales
Loading fixtures were failing since the refactoring in 244e2b71f5 for inheritance setups where the chain contains abstract models and the root ancestor contains a M2M relation. Thanks Stanislas Guerra for the report. Refs #20946.
2014-05-11Fixed some test models' natural_key() methods.Ramiro Morales
2014-05-11Fixed #14226 -- Dependency calculation for complex M2M relations.Rainer Koirikivi
`sort_dependencies` incorrectly interpreted 'complex' M2M relations (with explicit through models) as dependencies for a model. This caused circular complex M2M relations to be unserializable by dumpdata. Thanks to aneil for the report and outofculture for initial tests.
2013-11-02PEP8 cleanupJason Myers
Signed-off-by: Jason Myers <jason@jasonamyers.com>
2013-08-20Fixed #20933 -- Allowed loaddata to load fixtures from relative paths.Florian Apolloner
2013-08-20Fixed #20820 -- Model inheritance + m2m fixture loading regressionAnssi Kääriäinen
Tests by Tim Graham, report from jeroen.pulles@redslider.net.
2013-07-29Removed most of absolute_import importsClaude Paroz
Should be unneeded with Python 2.7 and up. Added some unicode_literals along the way.
2013-02-26Merged regressiontests and modeltests into the test root.Florian Apolloner