A small example package
Project description
otp_logatta_django
Description
this package uses the relenes api to send otp to the user and verify it
to use this app
1- In your project's settings.py file, add your app to the list of INSTALLED_APPS:
INSTALLED_APPS=[
...
'otp_logatta_django',
]
2- define a varibale in the settings.py
file for the api key
RELENES_API_KEY= 'your api key'
RELENES_SENDER_ID= 'your sender id'
3- In your project's urls.py file, add the following line:
path('otp/', include('Django_otp.urls')),
4- now you have access to the following urls
/otp/send/
/otp/verify/
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 otp_logatta_django-0.0.8.tar.gz
.
File metadata
- Download URL: otp_logatta_django-0.0.8.tar.gz
- Upload date:
- Size: 3.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3a578a72b46d02f080f28e86fa1fee6d2299b8ddccc116ed69aee90c406a2217 |
|
MD5 | 314e927b2c1edb889e55510ed93af4c2 |
|
BLAKE2b-256 | 07ead4ab6ad2eca40f4a45907e9028c646d0d728d5b56169d98f8fe953163f3d |
File details
Details for the file otp_logatta_django-0.0.8-py3-none-any.whl
.
File metadata
- Download URL: otp_logatta_django-0.0.8-py3-none-any.whl
- Upload date:
- Size: 4.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 02f69df11131e99238c28a9521b795933857cede46495f52ad6b61a98acd4e7e |
|
MD5 | 18312713f9fdfc0f1ea144898c16f222 |
|
BLAKE2b-256 | df97545ef85f6fd439e5f9ddb0c5f700445b4889875860bc4e7644bb6de7dab6 |