Re: Registering signal handlers

2013-12-22 Thread Curtis Maloney
Well, if you were looking to do so in 1.6 for the scores of suffering developers _now_... what would you do? On 22 December 2013 19:55, charettes wrote: > Since Django 1.7 you can lazily reference model signal sender, it might > help solving your circular import issues. >

Re: Registering signal handlers

2013-12-22 Thread charettes
Since Django 1.7 you can lazily reference model signal sender, it might help solving your circular import issues. It seems providing a reliable initialization signal is one of Aymeric's main goal. Simon Le dimanche 22 décembre 2013 03:22:29 UTC-5, Curtis Maloney a écrit : > > Reading the

Registering signal handlers

2013-12-22 Thread Curtis Maloney
Reading the posts on App reconfigure reminded me I wanted to raise this for discussion. Recently we've been suffering circular imports, and the majority are, IMHO, caused by people importing "receivers" in the apss __init__.py. By convention [in our app, at least] "receivers.py" registers all