summaryrefslogtreecommitdiff
path: root/tests/m2m_through_regress
AgeCommit message (Collapse)Author
2026-01-18Applied Black's 2026 stable style.Mariusz Felisiak
https://github.com/psf/black/releases/tag/26.1.0
2025-03-11Fixed #36177 -- Added a trailing newline to JSON serializer. (#19232)Tom Carrick
2022-02-07Refs #33476 -- Refactored code to strictly match 88 characters line length.Mariusz Felisiak
2022-02-07Refs #33476 -- Reformatted code with Black.django-bot
2020-11-06Fixed #31235 -- Made assertQuerysetEqual() compare querysets directly.Hasan Ramezani
This also replaces assertQuerysetEqual() to assertSequenceEqual()/assertCountEqual() where appropriate. Co-authored-by: Peter Inglesby <peter.inglesby@gmail.com> Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
2020-05-04Changed `'%s' % value` pattern to `str(value)`.Nick Pope
2020-04-30Removed unused __str__() methods in tests models.Mariusz Felisiak
Follow up to 6461583b6cc257d25880ef9a9fd7e2125ac53ce1.
2019-01-15Fixed #9475 -- Allowed RelatedManager.add(), create(), etc. for m2m with a ↵Collin Anderson
through model.
2018-12-27Followed style guide for model attribute ordering.Matt Wiens
2018-11-27Switched setUp() to setUpTestData() where possible in Django's tests.Simon Charette
2018-07-11Refs #9804 -- Fixed test for sequence reset of M2M with inherited through model.Tim Graham
2017-11-06Fixed #28776 -- Fixed a/an/and typos in docs and comments.Дилян Палаузов
2017-06-01Refs #23968 -- Removed unnecessary lists, generators, and tuple calls.Jon Dufresne
2017-01-18Refs #23919 -- Removed most of remaining six usageClaude Paroz
Thanks Tim Graham for the review.
2017-01-18Refs #23919 -- Removed python_2_unicode_compatible decorator usageClaude Paroz
2017-01-18Refs #23919 -- Removed encoding preambles and future importsClaude Paroz
2016-12-23Fixed typo in m2m_through_regress test methods.Tim Graham
2016-12-23Refs #18823 -- Corrected field name in an m2m manager error message.Andrey Kuzminov
2016-12-23Used assertRaisesMessage() in m2m_through_regress tests.Tim Graham
The "needs to have a value for field" messages are incorrect and reference nonexistent fields since the commit in which they were introduced (refs #18823).
2016-12-07Fixed #17002 -- Allowed using a ManyToManyField through model that inherits ↵InvalidInterrupt
another.
2016-11-10Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings.za
2016-04-08Fixed E128 flake8 warnings in tests/.Tim Graham
2016-01-29Refs #26022 -- Used context manager version of assertRaises in tests.Hasan
2015-10-27Fixed #25550 -- Deprecated direct assignment to the reverse side of a ↵Tim Graham
related set.
2015-09-12Fixed #23395 -- Limited line lengths to 119 characters.Dražen Odobašić
2015-07-27Fixed #21127 -- Started deprecation toward requiring on_delete for ↵Flavio Curella
ForeignKey/OneToOneField
2015-03-24Refs #18586 -- Split up tests.m2m_through_regressMichael Blatherwick
2015-02-06Sorted imports with isort; refs #23860.Tim Graham
2013-11-02PEP8 cleanupJason Myers
Signed-off-by: Jason Myers <jason@jasonamyers.com>
2013-10-26Fix all violators of E231Alex Gaynor
2013-10-23Fixed E225 pep8 warnings.Tim Graham
2013-10-22Fixed E221 pep8 warnings.Tim Graham
2013-09-09Removed unneeded imports in tests's __init__.py and unified them.Florian Apolloner
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-06-10Defined available_apps in relevant tests.Aymeric Augustin
Fixed #20483.
2013-02-26Merged regressiontests and modeltests into the test root.Florian Apolloner