For sending and receiving text messages (SMS) from textlocal.com
pip install django-txtlocal
Add to your urls.py
:
url(r'^', include('txtlocal.urls'))
Add to your settings.py
:
INSTALLED_APPS = (
...
'txtlocal',
...
)
Run:
python manage.py syncdb
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
Why txtlocal, not tExtlocal?
Because textlocal.com used to be txtlocal.co.uk