Include
Aiva_Twilio_SMS_Djangoin yourrequirements.txtfile.Add
Aiva_Twilio_SMS_DjangotoINSTALLED_APPSand syncdb/migrate.Add the following url to your urlconf:
url(r"^messaging/", include("Aiva_Twilio_SMS_Django.urls")),
this will receive confirmation callbacks for any SMS message that you send using
utils.send_sms.Create a new view and override
IncomingSMSView.post_save(self, obj)method to receive SMS messages via callbacks from Twilio. The receivedobjparam will be an instance ofIncomingSMSmodel.Configure Twilio callback to send notifications to the above view's url.
Configure settings:
- TWILIO_ACCOUNT_SID, TWILIO_AUTH_TOKEN, TWILIO_PHONE_NUMBER - copy credentials from the Twilio panel.
- TWILIO_CALLBACK_USE_HTTPS - use https or not for delivery confirmation callback urls.
- TWILIO_CALLBACK_DOMAIN - optionally set domain name or IP of your site (otherwise the server name will be extracted from the request info).
- TWILIO_DRY_MODE - set if you want to run in test mode.
-
Couldn't load subscription status.
- Fork 0
Aiva's Django-based implementation for sending SMS using Twilio's API. This repository contains the codebase for our Twilio integration in our Django app, providing seamless SMS communication with our users.
License
Couldn't load subscription status.
rsonservice/Aiva_Twilio_SMS_Django
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
About
Aiva's Django-based implementation for sending SMS using Twilio's API. This repository contains the codebase for our Twilio integration in our Django app, providing seamless SMS communication with our users.
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published