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

.. image::
:alt: Build Status
.. image::
.. image::
:alt: Current version on PyPi
.. image::
:alt: Downloads from PyPi

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


.. code-block:: bash

$ pip install django-calendar-sms

2. Add the ``calendar_sms`` application to ``INSTALLED_APPS`` in your settings file (usually ````)
3. Sync database (``./ syncdb``)


.. code-block:: bash

$ sudo apt-get install virtualenvwrapper
$ mkvirtualenv django-calendar-sms
$ git clone
$ cd django-calendar-sms
$ python develop
$ cd demo
$ pip install -r requirements.txt
$ python syncdb
$ python migrate
$ python shell

1. Setup Google Account data for current website on admin panel
2. Try to send sms from shell (``./ shell``):

.. code-block:: python

>>> from calendar_sms.sms import sendSMS
>>> print sendSMS('Hello, World!')

Send SMS in background:
1. Install ``django-celery``:

.. code-block:: bash

$ pip install django-celery

2. Add the ``djcelery`` application to ``INSTALLED_APPS`` in
3. Add django-calendar-sms configuration into project settings:

.. code-block:: python

CELERY_IMPORTS = ('calendar_sms',)

4. Sync database (``./ syncdb``)
5. Run Rabbit-MQ:

.. code-block:: bash

$ sudo rabbitmq-server -detached

6. Run celery daemon in project directory:

.. code-block:: bash

$ nohup python celery worker >& /dev/null &

7. Try to send sms:

.. code-block:: python

>>> from calendar_sms.tasks import SMSSend
>>> SMSSend.delay('Hello, World (background task)!')

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

* Python: 2.6, 2.7
* Django: 1.3.x, 1.4.x, 1.5.x, 1.6

.. image::
:alt: Bitdeli badge

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
django-calendar-sms-2.2.tar.gz (12.2 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page