Skip to main content

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

Download files

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

Source Distribution

django-fs-smsc-0.1.tar.gz (6.0 kB view details)

Uploaded Source

File details

Details for the file django-fs-smsc-0.1.tar.gz.

File metadata

  • Download URL: django-fs-smsc-0.1.tar.gz
  • Upload date:
  • Size: 6.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for django-fs-smsc-0.1.tar.gz
Algorithm Hash digest
SHA256 1b028720c4118a9fc1ce2ef7fc4041d4458c0ef4628f4e753712731ffe20fff4
MD5 f18007fda7ca415f5a5a325f7aa68c31
BLAKE2b-256 cfb5a4dd531d17d440c78c829de69f418ddd4014d33345a45cf8bad76e07b5c2

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1 This release

1 file

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page