id summary reporter owner description type status component version severity resolution keywords cc stage has_patch needs_docs needs_tests needs_better_patch easy ui_ux 22236 Gratuitous and inappropriate use of signals Aymeric Augustin nobody "Currently, `django.db.models.manager` contains `signals.class_prepared.connect(ensure_default_manager)`. But `ModelBase._prepare` is the only method to send `class_prepared`. It should simply call `ensure_default_manager` (and still send the signal for other receivers). There's no reason for obfuscating control flow with signals." Cleanup/optimization closed Database layer (models, ORM) dev Normal fixed Ready for checkin 1 0 0 0 0 0