Add an error page for 500 errors
Send errors to a dedicated list
Don't try to create all the daily summaries at once

MySQL tends to barf on that...
Don't try to *show* all the daily summaries at once

MySQL or Django or Apache or something don't seem to like that either, because
it takes forever.