Skip to main content
=============================
django-twilio-sms-models
=============================

.. image:: https://badge.fury.io/py/django-twilio-sms-models.png
:target: https://badge.fury.io/py/django-twilio-sms-models

.. image:: https://travis-ci.org/cfc603/django-twilio-sms-models.png?branch=master
:target: https://travis-ci.org/cfc603/django-twilio-sms-models

.. image:: https://codecov.io/github/cfc603/django-twilio-sms-models/coverage.svg?branch=master
:target: https://codecov.io/github/cfc603/django-twilio-sms-models?branch=master

Django models for Twilio's Programmable SMS

Documentation
-------------

The full documentation is at https://django-twilio-sms-models.readthedocs.org.

Quickstart
----------

Install django-twilio-sms-models::

$ pip install django-twilio-sms-models

Follow django-twilio install instructions:

http://django-twilio.readthedocs.org/en/latest/install.html

Add 'django-twilio-sms' to your `INSTALLED_APPS`::

# project/settings.py
INSTALLED_APPS = (
...
'django_twilio_sms',
)

Set 'DJANGO_TWILIO_SMS_SITE_HOST' setting:

This is used to build an absolute URI for the callback url. Can also be used
with ngrok on your development machine.

::

# project/settings.py
DJANGO_TWILIO_SMS_SITE_HOST = 'www.example.com'

Include django-twilio-sms URLconf in your project `urls.py`::

url(r'^twilio-integration/', include('django_twilio_sms.urls', namespace='django_twilio_sms')),

Sync the database::

$ python manage.py migrate

Running Tests
--------------

Does the code actually work?

::

source <YOURVIRTUALENV>/bin/activate
(myenv) $ pip install -r requirements-test.txt
(myenv) $ python runtests.py

Credits
---------

Tools used in rendering this package:

* Cookiecutter_
* `cookiecutter-pypackage`_

.. _Cookiecutter: https://github.com/audreyr/cookiecutter
.. _`cookiecutter-djangopackage`: https://github.com/pydanny/cookiecutter-djangopackage




History
-------

1.2.0 (2016-05-13)
++++++++++++++++++

* Handle unsubscribed PhoneNumber


1.1.0 (2016-04-16)
++++++++++++++++++

* Basic admin configuration (#4) (Thanks @carlkibler)
* Update docs
* Fix settings typo
* Add response_message signal


1.0.0 (2016-04-14)
++++++++++++++++++

* Setup tox
* Setup Travis CI
* Add sync_responses command


0.1.0 (2016-04-11)
++++++++++++++++++

* First release on PyPI.

Release files for django-twilio-sms-models 1.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-twilio-sms-models 1.2.0
File Size Uploaded
django-twilio-sms-models-1.2.0.tar.gz 12.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for django-twilio-sms-models 1.2.0
File Interpreter ABI Platform
django_twilio_sms_models-1.2.0-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size: 25.6 kB

Release files / django-twilio-sms-models-1.2.0.tar.gz

Download URL django-twilio-sms-models-1.2.0.tar.gz
Size 12.1 kB
Tags Source
SHA-256 checksum
How to use checksums
0bf9980b9177537c76d522d47d9b4d72f08bd133f4155f1f87d451ca4577390e
BLAKE2b-256 checksum
How to use checksums
e1dab9c5e9290f2a686fd40bd55958177e8443b9d7c35b45c86fc3975235154e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / django_twilio_sms_models-1.2.0-py2.py3-none-any.whl

Download URL django_twilio_sms_models-1.2.0-py2.py3-none-any.whl
Size 13.5 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
ac2f54b7d4f1ef66930162781e9539ac6c5b556eeabf5ecbc196bb1629e63e75
BLAKE2b-256 checksum
How to use checksums
779e261e7c186e3430ee01f258d4e66a646c9e10cf12f1db0b9931c99b5431c9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

1.2.0 This release

2 release files

1.1.0

2 release files

1.0.0

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page