https://github.com/phalt/twilio-django-part-1
A simple twilio django sms application
https://github.com/phalt/twilio-django-part-1
Last synced: 12 months ago
JSON representation
A simple twilio django sms application
- Host: GitHub
- URL: https://github.com/phalt/twilio-django-part-1
- Owner: phalt
- Created: 2014-02-19T13:46:43.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2014-04-02T07:23:16.000Z (about 12 years ago)
- Last Synced: 2025-06-10T18:16:41.411Z (about 1 year ago)
- Language: Python
- Size: 173 KB
- Stars: 31
- Watchers: 3
- Forks: 15
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Twilio & Django part 1
This is a simple Django application demonstrating how to integrate [django-twilio][1]
into your Django projects.
## How to use
1. Download this repository
2. Install the requirements with pip:
```
$ pip install -r requirements.txt
```
This will install:
* Django
* django-twilio
3. Open the urls.py to see how the URL configuration has been done
4. Open the views.py to see how the views are set up.
5. Get the server running with:
```
$ python manage.py runserver
```
You can use cURL to test the server, this will output the [TWiML][2] response:
```
curl -X POST 127.0.0.1:8000/sms/
```
```
Hello world! Get in touch - paul@twilio.com
```
[1]: https://github.com/rdegges/django-twilio
[2]: https://www.twilio.com/docs/api/twiml