django-txtlocal-1.1.3
توضیحات
App for sending and receiving SMS messages via http://www.textlocal.com
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | django-txtlocal-1.1.3 |
| نام | django-txtlocal |
| نسخه کتابخانه | 1.1.3 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Incuna Ltd |
| ایمیل نویسنده | admin@incuna.com |
| آدرس صفحه اصلی | https://github.com/incuna/django-txtlocal/ |
| آدرس اینترنتی | https://pypi.org/project/django-txtlocal/ |
| مجوز | UNKNOWN |
django-txtlocal
===============
For sending and receiving text messages (SMS) from textlocal.com
Installation
------------
.. code-block:: bash
pip install django-txtlocal
Receiving Messages
~~~~~~~~~~~~~~~~~~
Add to your ``urls.py``:
.. code-block:: python
url(r'^', include('txtlocal.urls'))
Add to your ``settings.py``:
.. code-block:: python
INSTALLED_APPS = (
...
'txtlocal',
...
)
Run:
.. code-block:: bash
python manage.py syncdb
Sending Messages
~~~~~~~~~~~~~~~~
Add to your ``settings.py``:
.. 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
نحوه نصب
نصب پکیج whl django-txtlocal-1.1.3:
pip install django-txtlocal-1.1.3.whl
نصب پکیج tar.gz django-txtlocal-1.1.3:
pip install django-txtlocal-1.1.3.tar.gz