You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to django...@googlegroups.com
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 efficient than polling the database. You could also generate the e-mail inside the save() method of your model. However you need to be careful as both may block your application.