No description, website, or topics provided.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
tests
txtlocal
CHANGELOG.rst
LICENSE
MANIFEST.in
Makefile
README.rst
setup.py
test_requirements.txt

README.rst

django-txtlocal

For sending and receiving text messages (SMS) from textlocal.com

Installation

pip install django-txtlocal

Receiving Messages

Add to your urls.py:

url(r'^', include('txtlocal.urls'))

Add to your settings.py:

INSTALLED_APPS = (
    ...
    'txtlocal',
    ...
)

Run:

python manage.py syncdb

Sending Messages

Add to your settings.py:

TXTLOCAL_USERNAME = Your username with textlocal
TXTLOCAL_PASSWORD = Your password with textlocal
TXTLOCAL_FROM = Word up to 11 characters or number up to 14 digits. String.

You can also set TXTLOCAL_ENDPOINT. This defaults to https://www.txtlocal.com/sendsmspost.php

Infrequently Asked Questions

Why txtlocal, not tExtlocal?

Because textlocal.com used to be txtlocal.co.uk