Skip to main content

dj-twilio-sms

Twilio SMS Integration for Django

pypi travis

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

Metadata

Release files for dj-twilio-sms 2.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for dj-twilio-sms 2.1.0
File Size Uploaded Provenance
dj-twilio-sms-2.1.0.tar.gz 8.8 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for dj-twilio-sms 2.1.0
File Interpreter ABI Platform
dj_twilio_sms-2.1.0-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 22.2 kB

Release files / dj-twilio-sms-2.1.0.tar.gz

Download URL dj-twilio-sms-2.1.0.tar.gz
Size 8.8 kB
Tags Source
SHA-256 checksum
How to use checksums
0eb225eac5ce2ccd2f3580b893c0f164f24a5a075e7ae1c0a93fe793095a1cc5
BLAKE2b-256 checksum
How to use checksums
941f5a92aead4a12955ed86ba30410b7c7b8fca8830cda412623313e29787d35
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / dj_twilio_sms-2.1.0-py2.py3-none-any.whl

Download URL dj_twilio_sms-2.1.0-py2.py3-none-any.whl
Size 13.4 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
26f9c77336792d9d4ee1f4aa2fa570acc833dd487cd0771ddd1da64ddecbc1d6
BLAKE2b-256 checksum
How to use checksums
07dcb48ecae2baedd56817dabf7843c28d5a507128ec0b3d22fe8aa252af1d59
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for dj-twilio-sms 2.1.0

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page