2👍
✅
Twilio devangel here, I also maintain the django-twilio library 🙂
You can send outbound SMS and initiate outbound voice calls using the rest API like so:
# import this into your view / controller
from django_twilio.client import twilio_client
# Within your function, use the REST API:
m = twilio_client.messages.create(
to='TO_NUMBER',
from_='FROM_NUMBER',
body='Join me and together we can rule the galaxy as father and son!'
)
print m.status
>>> 'sent'
You can read more on the REST API client in twilio-python over here
Source:stackexchange.com