Skip to main content

This reusable Django app can help you to send sms via Google Calendar.

Project description

SMS Notification for Free on Django
======================
http://github.com/gotlium/django-calendar-sms


What's that
-----------
This reusable Django app can help you to send sms via
Google Calendar (for free) on your Django Project.
------------------------------------------

Installation:
----------
1. Package:
$ git clone https://github.com/gotlium/django-calendar-sms.git
$ cd django-calendar-sms && sudo python setup.py install
OR
$ sudo pip install django-calendar-sms
2. Add the 'calendar_sms' application to 'INSTALLED_APPS' in your
settings file (usually 'settings.py')
3. Sync database (./manage.py syncdb)

Usage:
----------
1. Setup Google Account data for current website on admin panel
2. Try to send sms from console (./manage.py shell):
>>> from calendar_sms.calendar_sms import sendSMS
>>> print sendSMS('Hello, World!')

Send SMS in background:
----------
1. Install django-celery:
$ pip install django-celery
2. Add the 'djcelery' application to 'INSTALLED_APPS' in settings
3. Add django-calendar-sms configuration into project settings:
CELERY_IMPORTS = ('calendar_sms',)
4. Sync database (./manage.py syncdb)
5. Run Rabbit-MQ:
$ sudo rabbitmq-server
6. Run celery daemon in project directory:
$ python manage.py celery worker --loglevel=info
7. Try to send sms:
>>> from calendar_sms.tasks import SMSSend
>>> SMSSend.delay('Hello, World (background task)!')


------------------------------------------
* You can use multi accounts on one or several sites
---------------------------------------------------

Forked by GoTLiuM InSPiRiT as part of the Django CalendarSMS from calendarSMS.
calendarSMS Author: vassio <vassio@ukr.net>
calendarSMS Url: http://codepaste.ru/11229/

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-calendar-sms-2.1.tar.gz (4.9 kB view hashes)

Uploaded Source

Supported by

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