У нас вы можете посмотреть бесплатно How to confirm email address with Django REST framework или скачать в максимальном доступном качестве, видео которое было загружено на ютуб. Для загрузки выберите вариант из формы ниже:
Если кнопки скачивания не
загрузились
НАЖМИТЕ ЗДЕСЬ или обновите страницу
Если возникают проблемы со скачиванием видео, пожалуйста напишите в поддержку по адресу внизу
страницы.
Спасибо за использование сервиса ClipSaver.ru
The good practice is to validate that the email address which was used by the user to create a new account is actually a real working email address. This process is called “email confirmation” and by far is familiar to most of us. While Django comes as “battery included” framework, it lacks this functionality and therefore software developers have to make use of 3rd party libraries in order to implement email confirmation flow. However, this is not a rocket science and can be easily implemented using “vanilla” Django and Django REST framework. In this video we observe how to confirm email addresses with Django REST framework. 00:00 - Start 02:18 - Adding models 04:01 - Implement API views 04:56 - UserInformationAPIView class 06:15 - SendEmailConfirmationTokenAPIView class 08:56 - Testing API views 09:58 - Writing tests for API views 14:20 - Test API views with Insomnia 17:08 - How to send emails with Django 20:15 - Implement an email sending function 23:55 - Testing the email sending function 24:30 - Implement the confirm email view 27:20 - Testing the confirm email view Source code for this tutorial: https://git.yurimednikov.xyz/yuri/dja... #python #django #djangorestframework #djangotutorial #pythonprogramming #python3 #pythonprogramming #webdevelopment #webdeveloper #coding #codetutorial #tech #programming #programmingtutorials #programmingtutorial #code