Skip to content

phalt/twilio-django-part-1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Twilio & Django part 1

This is a simple Django application demonstrating how to integrate django-twilio 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
  1. Open the urls.py to see how the URL configuration has been done

  2. Open the views.py to see how the views are set up.

  3. Get the server running with:

    $ python manage.py runserver

You can use cURL to test the server, this will output the TWiML response:

    curl -X POST 127.0.0.1:8000/sms/
    <?xml version="1.0" encoding="UTF-8"?>
        <Response>
            <Message>
                <Body>Hello world! Get in touch - [email protected]</Body>
            </Message>
        </Response>

About

A simple twilio django sms application

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages