Skip to main content

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

otp_logatta_django-0.0.8.tar.gz (3.4 kB view hashes)

Uploaded Source

Built Distribution

otp_logatta_django-0.0.8-py3-none-any.whl (4.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page