[go: up one dir, main page]

Skip to content

Send SMS from Django application using any SMS service provider just writing a single line of code.

License

Notifications You must be signed in to change notification settings

hizbul25/django-send-sms

Repository files navigation

django-universal-sms

Send SMS from Django application using any SMS service provider just writing a single line of code.

Features

  • Support all standard SMS service provider
  • SMS configuration from django admin panel
  • There is SMS Log listing page
  • You can also test SMS sending from admin panel
  • Enough test coverage

Installation

pip

pip install django-universal-sms

Install apps in settings.py

INSTALLED_APPS = [
    'django.contrib.admin',
    '...',
    'send_sms',
]

migration

python manage.py migrate

Configuration

  • Go to admin panel by login with you admin credentials
  • Find out SMS Settings menu under SEND SMS and click on it.
  • There you'll see couple of fields to fill it up using SMS service provider credentials. Here is the example.
  • Carfefully compelete this part and save it.

Usage

Whenever you need to send SMS just use following code:

from send_sms.views import send_sms

send_sms(['mobile_number'], 'Your Message')

For each successful sending SMS you can see the log from SMS Log under under SEND SMS menu.

Support

Feel free to ask for the support over the email hizbul.ku[at]gmail.com.

About

Send SMS from Django application using any SMS service provider just writing a single line of code.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages