from django_rq import job

from .. import utils


@job
def send_sms(to, body):
    utils.send_sms(to=to, body=body)

@@ -72,16 +72,118 @@
  body):%0A
+    for number in to:%0A        send_single_sms.delay(%5Bto%5D, body)%0A%0A%0A@job%0Adef send_single_sms(to, body):%0A
     util

Split SMS sending into multiple jobs (to get around Heroku timeout)