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
Close
Hashes for otp_logatta_django-0.0.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5ab6f412c6753d21742160e34f878ad6df1201415f1c04484ec03b827a6fbddf |
|
MD5 | 58d93de9ffc294fea0b1b43f2634a5e7 |
|
BLAKE2b-256 | 5cb5cfdaa3a56037d8d90ee7d65e96f5ca50c0097d4101d26498b94322d2d9c5 |