Thursday, October 2, 2014

Re: Exceptions in signal handlers pass silently

Am 01.10.2014 um 14:39 schrieb Collin Anderson:
> use send() instead of send_robust().
>

I am sorry, I don't understand this answer. I subscribe to "post_init". I don't send the
signal, I receive it.

Is there a way to tell django to use send() for signals?

.....

I found this solution:

{{{
from django.dispatch import Signal
Signal.send_robust = Signal.send
}}}

Source: http://giovanni.bajo.it/post/47207612849/djangos-signal-send-robust-is-broken-by-design

--
Thomas Güttler
http://thomas-guettler.de/

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/542D2DF6.5060505%40tbz-pariv.de.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment