Create A Followers List Page - Django Wednesdays Twitter #24

Опубликовано: 31 Май 2023
на канале: Codemy.com
1k
63

In this video we'll add a page that lists all of a user's followers.

Right now the followers are listed on the profile page. But if a person has hundreds or thousands of followers, we don't want them to clutter up the profile page.

So we'll limit the follower links to 5-10 on the profile page, but then create an entire page that lists "All" the followers for each user.



Timecodes

0:00​​ - Introduction
1:11 - Create Followers a URL
1:43 - Create Followers HTML Page
1:55 - Create Followers View
4:40 - Build Out Followers HTML Page
5:19 - Add Link On Profile Page
6:32 - Limit Followers on Profile
7:01 - Add Bootstrap Footer
7:56 - Add Username Title to Followers Page
8:15 - Tweak Followers View
8:37 - Add Follow/Unfollow To Page
10:40 - Fix Follow/Unfollow Error
11:15 - Conclusion