django-twilio-sms
Twilio integration for SMS-based Django apps
Developed and used at en.ig.ma software shop.
Quickstart
Include django-twilio-sms in your requirements.txt file.
Add django_twilio_sms to INSTALLED_APPS and syncdb/migrate.
Add the following url to your urlconf:
url(r"^messaging/", include("django_twilio_sms.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 received obj param will be an instance of IncomingSMS model.
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.
License
django-twilio-sms is released under the MIT license.
Other Resources
GitHub repository - https://github.com/nigma/django-twilio-sms
PyPi Package site - http://pypi.python.org/pypi/django-twilio-sms
Commercial Support
This app and many other help us build better software and focus on delivering quality projects faster. We would love to help you with your next project so get in touch by dropping an email at en@ig.ma.
Metadata
Release files for django-twilio-sms 0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| django-twilio-sms-0.2.zip | 10.8 kB | Without provenance | Details for django-twilio-sms-0.2.zip |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| django_twilio_sms-0.2-py2.7.egg | Legacy Egg format | - | - | Details for django_twilio_sms-0.2-py2.7.egg |
Total release size: 27.8 kB
Release files / django-twilio-sms-0.2.zip
| Download URL | django-twilio-sms-0.2.zip |
|---|---|
| Size | 10.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
df1bb515c919b01f2098a663f33cf2d24adfa45fe3aca2344533d049d70b20e2
|
|
BLAKE2b-256 checksum How to use checksums |
60ac8958b23dd02b428e71612d1e159e81b0c50efbe2188b9a3ecfe84a89ec66
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / django_twilio_sms-0.2-py2.7.egg
| Download URL | django_twilio_sms-0.2-py2.7.egg |
|---|---|
| Size | 17.0 kB |
| Tags | Egg |
|
SHA-256 checksum How to use checksums |
b6826a270c48105a5c00eb3cbe12ce456974911172a8336597f367e59dc85bd2
|
|
BLAKE2b-256 checksum How to use checksums |
611be6ade578365ddfd0b7d858b6f4de0c749f0b0a128bb0e1f5d15bbee7a847
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for django-twilio-sms 0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.