Re: Django sms

93 views
Skip to first unread message

Aaron C. de Bruyn

unread,
Sep 14, 2012, 4:04:38 PM9/14/12
to django...@googlegroups.com
On Fri, Sep 14, 2012 at 11:40 AM, Lunga Baliwe <lung...@gmail.com> wrote:
> I am writting a website that sends sms to a cell phone. I am using
> django-sendsms-0.2.2. I followed the README.rst doc and the output does
> appear on the console. How do I make it to actually send the sms?

You might want to contact the developer of the application. But
without any error messages or showing the relevant sections of your
code, it will be tough for anyone to offer assistance.

https://github.com/stefanfoulis/django-sendsms

-A
Message has been deleted

Lunga Baliwe

unread,
Sep 15, 2012, 12:56:58 AM9/15/12
to django...@googlegroups.com
The code I wrote is the one on  https://github.com/stefanfoulis/django-sendsms which is:

settings.py
SENDSMS_BACKEND = 'sendsms.backends.console.SmsBackend'

view.py
from sendsms import api
def home(request):
    api.send_sms(body='I can haz txt', from_phone='0768903661', to=['0768903661'])
    return render_to_response('home.html')

After I ran the server, this what I get on the console:
from: 0768903661
to: 0768903661
flash: False
I can haz txt
-------------------------------------------------------------------------------

Maybe its like Dennis said, that this is meant for testing purpose, do I have to subscribe to twilio in order to be able to actually send the sms?


On Friday, September 14, 2012 8:40:10 PM UTC+2, Lunga Baliwe wrote:
Good day,

I am writting a website that sends sms to a cell phone. I am using django-sendsms-0.2.2. I followed the README.rst doc and the output does appear on the console. How do I make it to actually send the sms?

Your help will appreciated.

Kind regards,
Lunga
Message has been deleted

Lunga Baliwe

unread,
Sep 15, 2012, 6:26:46 PM9/15/12
to django...@googlegroups.com
Thanks Dennis,

I'm kind of newbie to software,  but now I have an idea of what I need to do because two of cellphone service providers in South Africa(Vodacom and MTN - thanks for the list) do support email2sms.
I now have an idea of what I need to do, if I end up using the Django-sms app, I will post back.

The website will send sms' to a group of people who are members of an organisation informing them of meetings and other group announcements.

Thanks for the clear explanation and for your help.  
Reply all
Reply to author
Forward
0 new messages