Automatically Create User Profiles - Django Wednesdays Twitter #3

Pubblicato il: 28 dicembre 2022
sul canale di: 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


In questa pagina del sito puoi guardare il video online Automatically Create User Profiles - Django Wednesdays Twitter #3 della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Codemy.com 28 dicembre 2022, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 9,533 volte e gli è piaciuto 278 spettatori. Buona visione!