Likes On Profile Pages - Django Wednesdays Twitter #17

Published: 12 April 2023
on channel: Codemy.com
1,918
101

In this video I'll show you how to add likes to tweets on Profile Pages.

Adding likes to profile pages is very similar to adding them on the homepage.

The difference is in the redirect afterwards. I'll show you how to redirect either back to the profile page, or to the homepage accordingly.

#django #codemy #JohnElder

Timecodes

0:00​​ - Introduction
1:06 - Copy Like Counter
2:05 - Copy Like Code
2:38 - Redirect Problem
3:51 - HTTP_Referrer
4:26 - Print Referer
5:17 - Update Redirect To Referer
6:14 - Conclusion


Watch video Likes On Profile Pages - Django Wednesdays Twitter #17 online without registration, duration hours minute second in high quality. This video was added by user Codemy.com 12 April 2023, don't forget to share it with your friends and acquaintances, it has been viewed on our site 1,918 once and liked it 101 people.