| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2026-06-10 | Fixed #29187 -- Fixed flaky receiver count assertion in signals tests. | Jacob Walls | |
| Signal.receivers prunes dead weak references lazily, so a weak receiver garbage-collected elsewhere could still occupy a slot when BaseSignalSetup.setUp() counted receivers. The test's own connect/send/disconnect calls would then prune before tearDown() counted again. | |||
| 2026-01-31 | Refs #34118 -- Removed asgiref coroutine detection shims. | Jacob Walls | |
| As Python 3.12 is now the floor, we can drop the shims and use the `inspect` module. | |||
| 2025-12-29 | Fixed #36714 -- Fixed context sharing among async signal handlers. | Arfey | |
| 2025-07-23 | Refs #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. | |||
| 2024-02-08 | Fixed #35174 -- Fixed Signal.asend()/asend_robust() crash when all receivers ↵ | Vašek Dohnal | |
| are asynchronous. Regression in e83a88566a71a2353cebc35992c110be0f8628af. | |||
| 2024-01-26 | Applied Black's 2024 stable style. | Mariusz Felisiak | |
| https://github.com/psf/black/releases/tag/24.1.0 | |||
| 2023-03-08 | Refs #32172 -- Used asgiref coroutine shim in async signals tests. | Carlton Gibson | |
| Bug in e83a88566a71a2353cebc35992c110be0f8628af. | |||
| 2023-03-07 | Fixed #32172 -- Adapted signals to allow async handlers. | Jon Janzen | |
| co-authored-by: kozzztik <kozzztik@mail.ru> co-authored-by: Carlton Gibson <carlton.gibson@noumenal.es> | |||
| 2022-10-08 | Refs #33990 -- Renamed TransactionTestCase.assertQuerysetEqual() to ↵ | Gregor Gärtner | |
| assertQuerySetEqual(). Co-Authored-By: Michael Howitz <mh@gocept.com> | |||
| 2022-02-07 | Refs #33476 -- Refactored code to strictly match 88 characters line length. | Mariusz Felisiak | |
| 2022-02-07 | Refs #33476 -- Reformatted code with Black. | django-bot | |
| 2022-01-11 | Fixed #13251 -- Made pre/post_delete signals dispatch the origin. | mgaligniana | |
| 2021-04-03 | Fixed #32594 -- Doc'd and tested that Signal.disconnect() with lazy ↵ | Hugo Cachitas | |
| references returns None. | |||
| 2021-03-31 | Refs #32594 -- Added Signal.disconnect() test with a model class. | Hugo Cachitas | |
| Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com> | |||
| 2021-01-14 | Refs #31327 -- Removed providing_args argument for Signal per deprecation ↵ | Mariusz Felisiak | |
| timeline. | |||
| 2020-04-15 | Removed unused __str__() methods in tests models. | Author: Mads Jensen | |
| Co-Authored-By: Mariusz Felisiak <felisiak.mariusz@gmail.com> Co-Authored-By: Hasan Ramezani <hasan.r67@gmail.com> | |||
| 2020-03-05 | Fixed #31327 -- Deprecated providing_args argument for Signal. | Jon Dufresne | |
| 2018-11-27 | Switched TestCase to SimpleTestCase where possible in Django's tests. | Tim Graham | |
| 2017-01-25 | Refs #23919 -- Replaced super(ClassName, self) with super(). | chillaranand | |
| 2017-01-20 | Refs #23919 -- Removed django.test.mock Python 2 compatibility shim. | Tim Graham | |
| 2017-01-19 | Refs #23919 -- Stopped inheriting from object to define new style classes. | Simon Charette | |
| 2017-01-18 | Refs #23919 -- Removed six.<various>_types usage | Claude Paroz | |
| Thanks Tim Graham and Simon Charette for the reviews. | |||
| 2017-01-18 | Refs #23919 -- Removed python_2_unicode_compatible decorator usage | Claude Paroz | |
| 2017-01-18 | Refs #23919 -- Removed encoding preambles and future imports | Claude Paroz | |
| 2016-11-10 | Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings. | za | |
| 2016-09-21 | Tested model signals "sender" parameter when defer() is used. | Mathieu Pillard | |
| This was fixed when dynamic classes for deferred instance loading was removed in 7f51876f99851fdc3fef63aecdfbcffa199c26b9. | |||
| 2016-06-18 | Fixed #26778 -- Fixed ModelSignal.connect() weak argument. | Tim Graham | |
| 2016-06-02 | Fixed #26686 -- Fixed crash when registering model signals with abstract ↵ | Alex Hill | |
| senders. | |||
| 2016-05-27 | Fixed #26642 -- Made ModelSignal.disconnect() work with lazy references. | Alex Hill | |
| 2016-05-19 | Fixed #26421 -- Refactored ModelSignal to use Apps.lazy_model_operation() | Alex Hill | |
| 2016-04-08 | Fixed E128 flake8 warnings in tests/. | Tim Graham | |
| 2016-01-06 | Fixed #25746 -- Isolated inlined test models registration. | Simon Charette | |
| Thanks to Tim for the review. | |||
| 2015-12-03 | Fixed many spelling mistakes in code, comments, and docs. | Josh Soref | |
| 2015-10-27 | Fixed #25550 -- Deprecated direct assignment to the reverse side of a ↵ | Tim Graham | |
| related set. | |||
| 2014-11-21 | Added a test for model pre/post_init signals. | Jay | |
| 2013-11-24 | Fixed #21391 -- Allow model signals to lazily reference their senders. | Simon Charette | |
| 2013-11-18 | Fixed some Signal.disconnect calls from 058e434. | Loic Bistuer | |
| This would go unnoticed by the test suite because receivers are removed automatically when they are garbage collected. Changed all Signal.connect calls to hold strong references to ensure we clean up after ourselves. | |||
| 2013-11-18 | Merged the signals and signals_regress test packages. | Loic Bistuer | |
| This patch also made the tests less likely to pollute the global state in case of failure. | |||
| 2013-11-02 | Fixing E302 Errors | Jason Myers | |
| Signed-off-by: Jason Myers <jason@jasonamyers.com> | |||
| 2013-10-19 | Removed unused local variables in tests. | Tim Graham | |
| 2013-07-29 | Removed most of absolute_import imports | Claude Paroz | |
| Should be unneeded with Python 2.7 and up. Added some unicode_literals along the way. | |||
| 2013-02-26 | Merged regressiontests and modeltests into the test root. | Florian Apolloner | |
