Hi,
I suggest you use the randrange function in python

On Thursday, August 6, 2020, Issa Kehinde <[email protected]> wrote:

> Hello developer,
>
> Pls, i want to have a table that will hold a randomly generated number.
> This number will be send to user via sms for authentication into the app.
> Once a user enter the digits, it will be compared to what is in the
> database. if it match, the user will be logged in to the app.
> How can I achieve this? Kindly  assist. Thanks!
>
> Also can the uuid be used to generate a 6 digit random ?
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/django-users/6ff6198c-3711-434b-b40e-4ec050f082c5o%
> 40googlegroups.com
> <https://groups.google.com/d/msgid/django-users/6ff6198c-3711-434b-b40e-4ec050f082c5o%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>


-- 
OGUNSANYA OPEYEMI

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CABJxPrFdZOSJsR50vB4iKSYGNVHcgx3ypcy8rPxcW7j-Uo4mwg%40mail.gmail.com.

Reply via email to