D
D
Damn2019-02-22 19:22:41
Django
Damn, 2019-02-22 19:22:41

How to properly organize SMS verification in Django?

I know about the existence of a service like https://smsc.ru that sends SMS.
How to properly organize this verification?
Create a user model with a phone number, generate code in the same place, and then send it in the view?
I would like a thorough explanation, preferably with code
I would be very grateful

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Artem, 2019-02-22
@ulkoart

  • generate code
  • send code via API smsc.ru
  • waiting for the user to enter this code
  • ...
  • profit

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question