This is not working, the to: never gets called.

from:
user_order = Signal(providing_args=["request", "order"])
user_order.send(sender=None, request=request, order=order)


to:
def user_order_handler(sender, **kwargs):
        order = kwargs('order')

user_order.connect(user_order_handler)

On Tuesday, March 5, 2013 8:49:46 AM UTC-5, frocco wrote:
>
> Would I send a signal after an order is saved?
>
> On Tuesday, March 5, 2013 8:38:14 AM UTC-5, frocco wrote:
>>
>> Hello,
>>
>> I want to query the orders database every 5 minutes and alert admins that 
>> new orders have arrived.
>> Would I use signals for this?
>>
>> Anyone have an example?
>>
>> Thank you
>>
>

-- 
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/django-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to