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!

SMS gateway for sending text messages

Project Description
README
------

How to install:

* Add 'smsgateway' to your INSTALLED_APPS
* Configure it:

# settings.py

# This is where your incoming messages will be handled by your web app.
SMSGATEWAY_HOOK = {'MV': 'mvne.activation.utils.incoming_sms',
'SIM': 'mvne.activation.utils.incoming_sms'}

# This is a list of accounts of SMS gateway providers.
SMSGATEWAY_ACCOUNTS = {
'__default__': 'mobileweb', # This is your default account. You MUST specify this! It points to one of your accounts below this line.
'mobileweb': {'backend': 'mobileweb', 'username': 'johndoe', 'password': '12345678', 'sid': '413'}, # Example account
'smsextrapro': {'backend': 'smsextrapro', 'username': 'johndoe', 'password': '87654321'}, # Example account
}

# This is where you set up the backends in use. You can use your own too! Please look at the built-in backends for an example.
SMSGATEWAY_BACKENDS = (
'smsgateway.backends.mobileweb.MobileWebBackend',
'smsgateway.backends.smsextrapro.SmsExtraProBackend',
)

* Some backends support incoming text messages:

# urls.py

from smsgateway import backends

urlpatterns = ('',
(r'^incoming_sms/$', backends.get_backend('mobileweb').handle_incoming),
)

* Set up your SMS gateway to use this url for incoming messages.
Release History

Release History

This version
History Node

2.1.10

History Node

2.1.8

History Node

2.1.7

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
django_smsgateway-2.1.10-py2-none-any.whl (139.0 kB) Copy SHA256 Checksum SHA256 2.7 Wheel Aug 16, 2017
django-smsgateway-2.1.10.tar.gz (90.7 kB) Copy SHA256 Checksum SHA256 Source Aug 16, 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