Skip to main content

Django models for Twilio's Programmable SMS

Project description

=============================
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

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

Features
--------

* TODO

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
-------

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

* First release on PyPI.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-twilio-sms-models-1.0.0.tar.gz (11.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

django_twilio_sms_models-1.0.0-py2.py3-none-any.whl (11.3 kB view details)

Uploaded Python 2Python 3

File details

Details for the file django-twilio-sms-models-1.0.0.tar.gz.

File metadata

File hashes

Hashes for django-twilio-sms-models-1.0.0.tar.gz
Algorithm Hash digest
SHA256 7ba165e5d72f4f955c9b8941181732ab2fffe765bf8f5945264d8fd45f5cd398
MD5 53799f03ecfa372d39b39ba099b82363
BLAKE2b-256 1c1cada146e029db5c878d58da680430d6d8d60f7ebbacba55c3c16a045e6443

See more details on using hashes here.

File details

Details for the file django_twilio_sms_models-1.0.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for django_twilio_sms_models-1.0.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 4a1b25f5fc227cb7d807f7ce5e236af4a05ecd9b61b45fd55a64a4e80601c08c
MD5 3b681ad8329bf94aa816adb0c294950e
BLAKE2b-256 20087f2f828a5b354cbd16b2b04e40f6cad420cdf3339459e35af5de67351e9e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page