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 details)

Uploaded Source

File details

Details for the file django-calendar-sms-2.1.tar.gz.

File metadata

File hashes

Hashes for django-calendar-sms-2.1.tar.gz
Algorithm Hash digest
SHA256 cc7ed5597433c7ef8595b767d6a301d78163a09edcc06548b7b83b1bd1f0925a
MD5 e47f961e9ed6ae490b5cfc07e849cbb7
BLAKE2b-256 2f72728453aca4b9496b9b5666086b8362b8ecc5e9a6e80bc4a1e847ab2fc438

See more details on using hashes here.

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