Skip to main content

Django Eskiz SMS Integration

Easily integrate EskizUz SMS functionality into your Django application.

Installation

First, install the package using pip:

pip install django-eskiz-sms

Then, add eskiz_sms to your INSTALLED_APPS in settings.py:

INSTALLED_APPS = [
    ...
    'eskiz_sms',
]

Setup

After adding the app, run migrations to set up the necessary database tables:

python manage.py makemigrations eskiz_sms
python manage.py migrate eskiz_sms

Next, go to the Django admin panel and add your EskizUz email and API token in the EskizSMS model.

Usage

### Sending SMS

To send an SMS, you can use the send_sms method. Import it into any part of your application where you need to send an SMS:

from eskiz_sms.views import send_sms

send_sms(phone_number, message)

### Testing

To test the SMS functionality through the browser, include eskiz_sms.urls in your project’s urls.py:

from django.urls import path, include

urlpatterns = [
    ...
    path('sms/', include('eskiz_sms.urls')),
]

Visit the provided URL in your browser to send test SMS messages. For security reasons, remove this URL after testing.

SMS Log

You can view the statistics of sent SMS messages in the SMSLog model in the Django admin panel.

Support

For additional help, join our Telegram group: Telegram Support

For a detailed guide, visit: Django Eskiz SMS Documentation

License

MIT License

Metadata

Release files for django-eskiz-sms 0.1.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-eskiz-sms 0.1.6
File Size Uploaded
django_eskiz_sms-0.1.6.tar.gz 6.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for django-eskiz-sms 0.1.6
File Interpreter ABI Platform
django_eskiz_sms-0.1.6-py3-none-any.whl Python 3 none any Details

Total release size: 14.3 kB

Release files / django_eskiz_sms-0.1.6.tar.gz

Download URL django_eskiz_sms-0.1.6.tar.gz
Size 6.5 kB
Tags Source
SHA-256 checksum
How to use checksums
2d3b2656b01d5bb7d04682827fa8a7e46c96163337c1166ee0dcad4e0ce4eec2
BLAKE2b-256 checksum
How to use checksums
dbdb10bdb10a40d928c4fd3a54cb4d1b503bffc79aa92a1e08175007339c7f3e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.0.0 CPython/3.12.3

Release files / django_eskiz_sms-0.1.6-py3-none-any.whl

Download URL django_eskiz_sms-0.1.6-py3-none-any.whl
Size 7.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5d45efdf189da40010b70bbfc326a38a2cb6b52e967fd345e519ede5c147f942
BLAKE2b-256 checksum
How to use checksums
246ba4c383c9a8a9c272fb9f71129d5cd113739455fb67cd6e8dc9dcf5abe9fc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.0.0 CPython/3.12.3

Release history Release notifications | RSS feed

This release

0.1.6 This release

2 release files

0.1.5

1 release file

0.1.4

1 release file

0.1.3

1 release file

0.1.2

1 release file

0.1.1

1 release file

0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page