
Security News
Vite+ Joins the Push to Consolidate JavaScript Tooling
Evan You announces Vite+, a commercial, Rust-powered toolchain built on the Vite ecosystem to unify JavaScript development and fund open source.
django-eskiz-sms
Advanced tools
Easily integrate EskizUz SMS functionality into your Django application.
First, install the package using pip:
.. code-block:: sh
pip install django-eskiz-sms
Then, add eskiz_sms
to your INSTALLED_APPS
in settings.py
:
.. code-block:: python
INSTALLED_APPS = [
...
'eskiz_sms',
]
After adding the app, run migrations to set up the necessary database tables:
.. code-block:: sh
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.
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:
.. code-block:: python
from eskiz_sms.views import send_sms
send_sms(phone_number, message)
To test the SMS functionality through the browser, include eskiz_sms.urls
in your project's urls.py
:
.. code-block:: python
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.
You can view the statistics of sent SMS messages in the SMSLog
model in the Django admin panel.
For additional help, join our Telegram group: Telegram Support <https://t.me/RozmatOtajonov>
_
For a detailed guide, visit: Django Eskiz SMS Documentation <https://otajonov.dev/django-eskiz-sms>
_
MIT License
FAQs
Djangoda Eskiz.Uz API orqali SMS yuborish uchun eng mukammal paket
We found that django-eskiz-sms demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Evan You announces Vite+, a commercial, Rust-powered toolchain built on the Vite ecosystem to unify JavaScript development and fund open source.
Security News
Ruby Central’s incident report on the RubyGems.org access dispute sparks backlash from former maintainers and renewed debate over project governance.
Research
/Security News
Socket researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.