Skip to main content

Django integration with SMS Centre

Project description

Installation

  1. Install django-fs-smsc using pip:

    $ pip install django-fs-smsc
    
  2. Add 'smsc' to your INSTALLED_APPS setting:

    INSTALLED_APPS = (
        ...
        'smsc',
        ...
    )
    
  3. Add 'smsc.urls' to your url-patterns:

    urlpatterns = patterns('',
        ...
        url(r'^smsc/', include('smsc.urls')),
        ...
    )
    
  4. Run syncdb or migrate:

    $ ./manage.py syncdb
    
    or
    
    $ ./manage.py migrate
    

Usage

Just import send_sms function and use it:

from smsc.api import send_sms

send_sms('+79135461856', 'Some text.')

Credits

Fogstream

Project details


Release history Release notifications | RSS feed

This version

0.1

Download files

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

Files for django-fs-smsc, version 0.1
Filename, size File type Python version Upload date Hashes
Filename, size django-fs-smsc-0.1.tar.gz (6.0 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page