Automatically Create User Profiles - Django Wednesdays Twitter #3

Publié le: 28 décembre 2022
sur la chaîne: Codemy.com
9,533
278

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


Sur cette page du site, vous pouvez voir la vidéo en ligne Automatically Create User Profiles - Django Wednesdays Twitter #3 durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Codemy.com 28 décembre 2022, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 9,533 fois et il a aimé 278 téléspectateurs. Bon visionnage!