Send SMS using Django
Project description
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. .
- 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.
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
Built Distribution
File details
Details for the file django-universal-sms-1.0.6.tar.gz
.
File metadata
- Download URL: django-universal-sms-1.0.6.tar.gz
- Upload date:
- Size: 6.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bcfc0f3117e63c8be86ce76966311685e9e9b4353b1c6a6bd5f7c5139371f2e8 |
|
MD5 | e0bee5b9270d71720ba50547c39e92b4 |
|
BLAKE2b-256 | f5debed476b2f5757d2c7ecaa331f8cc24bc4dbfc13b16fcdd3687d4af081b0f |
File details
Details for the file django_universal_sms-1.0.6-py3-none-any.whl
.
File metadata
- Download URL: django_universal_sms-1.0.6-py3-none-any.whl
- Upload date:
- Size: 8.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a793a4be2db7025a79cebab86de77c414145231c35b0bc479c13b704788efee2 |
|
MD5 | b5a7db81e9ed9798e800d32d57127a37 |
|
BLAKE2b-256 | 7c017f063c4442f50eca11ee019d05b8e4b415818d4ffe875ba374347993757e |