Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Twilio SMS Integration for Django

Project Description

Twilio SMS Integration for Django

This is fork of nigma/django-twilio-sms (Filip Wasilewski en[at]ig[dot]ma) as original package has stopped maintenance.

Django 1.10 support, migrations, timezone improvements.

Used for SMS messages in SiteLedger project.

Quickstart

  1. Install dj-twilio-sms using pip.

  2. Add dj_twilio_sms to INSTALLED_APPS and migrate (manage.py migrate).

  3. Add the following url to your urlconf:

    url(r"^messaging/", include("dj_twilio_sms.urls")),
    

    this will receive confirmation callbacks for any SMS message that you send using utils.send_sms also will receive incoming messages.

  4. Configure Twilio callback to send notifications to the above view’s url. (ex: /messaging/reply/ for inbound messages)

  5. 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.

Django Version Support

  • Django 1.8, 1.9 and 1.10
  • Python 2.7 and 3.5

It should work with Django 1.6 and 1.7, but you need to downgrade django-rest-framework for these versions.

License

django-twilio-sms and dj-twilio-sms is released under the MIT license.

Other Resources

Release History

Release History

This version
History Node

2.1.0

History Node

2.0.1

History Node

2.0

History Node

1.3.0

History Node

1.2.0

History Node

1.1.0

History Node

1.0.0

History Node

0.3.0

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
dj_twilio_sms-2.1.0-py2.py3-none-any.whl (13.4 kB) Copy SHA256 Checksum SHA256 3.6 Wheel Aug 7, 2017
dj-twilio-sms-2.1.0.tar.gz (8.8 kB) Copy SHA256 Checksum SHA256 Source Aug 7, 2017

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting