Re: I want to check for new orders in the background?

2013-03-05 Thread frocco
I got this working using signals On Tuesday, March 5, 2013 9:28:31 AM UTC-5, frocco wrote: > > I tried your link https://github.com/pinax/django-notification > but it is not working. > > is there anything wrong with my code to prevent the signal from working? > > On Tuesday, March 5, 2013 9:18:04

Re: I want to check for new orders in the background?

2013-03-05 Thread frocco
I tried your link https://github.com/pinax/django-notification but it is not working. is there anything wrong with my code to prevent the signal from working? On Tuesday, March 5, 2013 9:18:04 AM UTC-5, Jaimin Patel wrote: > > Take a look at django-notifications app - >

Re: I want to check for new orders in the background?

2013-03-05 Thread Jaimin Patel
Take a look at django-notifications app - https://github.com/pinax/django-notification I think it should be able to help you. you can check the example of it on this SO thread - http://stackoverflow.com/questions/1609775/how-do-i-display-notifications-from-django-notification On Tuesday,

Re: I want to check for new orders in the background?

2013-03-05 Thread Dave Murphy
On Tuesday, March 5, 2013 1:38:14 PM UTC, frocco wrote: > > I want to query the orders database every 5 minutes and alert admins that > new orders have arrived. > Would I use signals for this? > Using a receiver attached to the post_save signal of your Order model would certainly be more

Re: I want to check for new orders in the background?

2013-03-05 Thread frocco
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 >