All Projects → phalt → Twilio Django Part 1

phalt / Twilio Django Part 1

A simple twilio django sms application

Programming Languages

python
139335 projects - #7 most used programming language

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>
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].