Unfollow From Profile Page - Django Wednesdays Twitter #22

Published: 17 May 2023
on channel: Codemy.com
1,439
83

In this video we'll add the ability to unfollow users from our profile page.

On our profile page, we have a list of users that we're currently following.

In the video we'll add an icon next to each name that we can click on to unfollow them right from the profile page.

#django #codemy #JohnElder

Timecodes

0:00​​ - Introduction
1:18 - Add Icon Link to Profile Page
3:27 - Create URL in URLS.py
4:20 - Create Unfollow View
5:23 - Look Up Profile To Unfollow
6:30 - Unfollow User And Save
7:40 - Success Message and Redirect
9:10 - Add Django URL Link Tag To Profile
9:41 - Test It Out
10:40 - Conclusion


Watch video Unfollow From Profile Page - Django Wednesdays Twitter #22 online, duration hours minute second in high quality that is uploaded to the channel Codemy.com 17 May 2023. Share the link to the video on social media so that your subscribers and friends will also watch this video. This video clip has been viewed 1,439 times and liked it 83 visitors.