Skip to main content

It's a Django module to send and store SMS with Twilio.

Project description

Django SMS Toolkit

Django module to send and store SMS with Twilio.


To release a new version via, follow the steps in this link.

To release a new version via git commands, follow this documentation.

You can see the releases here.


You can refer here for semantics of versioning.


  1. pip install django-sms-toolkit.

  2. Add django_sms_toolkit to the INSTALLED_APPS in the settings file.

  3. Configure settings.

    "SEND_SMS": True,  # True by default.
    "TWILIO": {
        "ACCOUNT_SID": "",
        "AUTH_TOKEN": "",
        "TRIM_LONG_BODY": True,  # True by default. Makes sure character limit is not exceeded.
  1. python migrate

  2. Include urls to be able to receive message status callbacks from Twilio.

urlpatterns = [
    url(r'^', include('django_sms_toolkit.urls')),
  1. (Optional) Add TwilioMessageMixin to your auth user model.
from django_sms_toolkit.models import TwilioMessageMixin

class AuthUser(TwilioMessageMixin,...):
# Default from number provided in settings is used if from_number is not provided.
user.send_sms(body, from_number=None)
# OR
from django_sms_toolkit.tasks import send_sms
send_sms.delay(from_number, to_number, body, recipient_id=None)


Please open an issue for support.


Please contribute using Github Flow. Create a branch, add commits, and open a pull request.

Project details

Download files

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

Files for django-sms-toolkit, version 0.1.6
Filename, size File type Python version Upload date Hashes
Filename, size django-sms-toolkit-0.1.6.tar.gz (7.8 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page