Notice!
PyPM is being replaced with the ActiveState Platform, which enhances PyPM’s build and deploy capabilities.
Create your free Platform account
to download ActivePython or customize Python with the packages you require and get automatic updates.
Download
ActivePython
INSTALL>
pypm install django-txtlocal
How to install django-txtlocal
- Download and install ActivePython
- Open Command Prompt
- Type
pypm install django-txtlocal
| Python 2.7 | Python 3.2 | Python 3.3 |
---|
Windows (32-bit) | | | |
---|
Windows (64-bit) | | | |
---|
Mac OS X (10.5+) | | | |
---|
Linux (32-bit) | | | |
---|
Linux (64-bit) | | | |
---|
Lastest release
version 1.1.3 on Jan 9th, 2014
For sending and receiving text messages (SMS) from textlocal.com
Installation
System Message: ERROR/3 (<string>, line 10)
Unknown directive type "code-block".
.. code-block:: bash
pip install django-txtlocal
Receiving Messages
Add to your urls.py:
System Message: ERROR/3 (<string>, line 20)
Unknown directive type "code-block".
.. code-block:: python
url(r'^', include('txtlocal.urls'))
Add to your settings.py:
System Message: ERROR/3 (<string>, line 26)
Unknown directive type "code-block".
.. code-block:: python
INSTALLED_APPS = (
...
'txtlocal',
...
)
Run:
System Message: ERROR/3 (<string>, line 36)
Unknown directive type "code-block".
.. code-block:: bash
python manage.py syncdb
Sending Messages
Add to your settings.py:
System Message: ERROR/3 (<string>, line 46)
Unknown directive type "code-block".
.. code-block:: python
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