Notice!
PyPM is being replaced with the ActiveState Platform, which enhances PyPM’s build and deploy capabilities.
Create your free Platform account
to download ActivePython or customize Python with the packages you require and get automatic updates.
Download
ActivePython
INSTALL>
pypm install django-calendar-sms
How to install django-calendar-sms
- Download and install ActivePython
- Open Command Prompt
- Type
pypm install django-calendar-sms
| Python 2.7 | Python 3.2 | Python 3.3 |
---|
Windows (32-bit) | | | |
---|
Windows (64-bit) | | | |
---|
Mac OS X (10.5+) | | | |
---|
Linux (32-bit) | | | |
---|
Linux (64-bit) | | | |
---|
Lastest release
version 2.1 on Apr 4th, 2013
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
calendarSMS Url: http://codepaste.ru/11229/