In this video we'll automatically create Profiles when a New User signs up for our Twitter app.
We'll also have that new User automatically follow themselves so that they can see their own Tweets, or Meeps, in the future.
We'll use a Django Signal post_save hook to do all this automatically behind the scenes.
#django #codemy #JohnElder
Timecodes
0:00 - Introduction
1:56 - Django Signals Documentation
2:30 - Import Post_Save Signal To Models.py
3:12 - Create_Profile Automation
4:35 - Hook our Signal
5:30 - Test It Out
6:22 - User Automatically Follow Themselves
8:31 - Optionally Use Decorator
10:00 - Conclusion
На этой странице сайта вы можете посмотреть видео онлайн Automatically Create User Profiles - Django Wednesdays Twitter #3 длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь Codemy.com 28 Декабрь 2022, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 9,533 раз и оно понравилось 278 зрителям. Приятного просмотра!