Re: Using Signals as hooks

2009-06-26 Thread Alex Robbins
> should I just have it so that a few items from a task DB are done each > request (e.g. split up emails into groups, and email them a few per > request)? Hmm...what happens if there aren't any requests for an hour? Does the queue processing stop during that time? I can't get my email until

Re: Using Signals as hooks

2009-06-26 Thread Wiiboy
> But if it's a small and low volume app and you are the > only developer managing it, you could get away with it :) You hit the nail on the head ;) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users"

Re: Using Signals as hooks

2009-06-26 Thread Rajesh D
On Jun 25, 10:49 pm, Wiiboy wrote: > Question: how often should I have a cron job work to send emails?   Depends on the volume of emails and the frequency with which new articles are submitted to your site. Just try a frequency of say every 10 minutes and adjust it up or

Re: Using Signals as hooks

2009-06-25 Thread Wiiboy
Question: how often should I have a cron job work to send emails? Or should I just have it so that a few items from a task DB are done each request (e.g. split up emails into groups, and email them a few per request)? --~--~-~--~~~---~--~~ You received this

Re: Using Signals as hooks

2009-06-25 Thread Wiiboy
Thanks. On the topic of scaling, my site hasn't even been publicly released yet. However, I'll keep your advice in mind as I work on it, to keep it "future-proof". --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

Re: Using Signals as hooks

2009-06-25 Thread Rajesh D
On Jun 25, 12:54 am, Wiiboy wrote: > I'm a bit of a noob at Web Devlopment (as you already know if you've > read any of my posts on here). > > I've read that using hooks in key places in a website can help ease > future development.  Can/Should Django's signals be used for

Re: Using Signals as hooks

2009-06-25 Thread Wiiboy
It works. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to

Re: Using Signals as hooks

2009-06-25 Thread Kenneth Gonsalves
On Thursday 25 June 2009 10:24:12 Wiiboy wrote: > I'm a bit of a noob at Web Devlopment (as you already know if you've > read any of my posts on here). > > I've read that using hooks in key places in a website can help ease > future development. Can/Should Django's signals be used for that >

Using Signals as hooks

2009-06-24 Thread Wiiboy
I'm a bit of a noob at Web Devlopment (as you already know if you've read any of my posts on here). I've read that using hooks in key places in a website can help ease future development. Can/Should Django's signals be used for that purpose? If so, to what extent should they be used? For