We recently removed some features from the user Profile view and now want to reimplement them using only Django.
This task will be to add a "Following" tab to the user profile view. The tab should link to a sub-path of the user profile, so it is clear to the viewer that they are viewing users that a particular user is following.
Task
All of these tasks should be done in the accounts app.
We recently removed some features from the user Profile view and now want to reimplement them using only Django.
This task will be to add a "Following" tab to the user profile view. The tab should link to a sub-path of the user profile, so it is clear to the viewer that they are viewing users that a particular user is following.
Task
All of these tasks should be done in the
accountsapp.UserFollowing(inaccounts/views.py)profile/<str:username>/followingthat renders theUserFollowingview ( inaccounts/urls.py)UserFollowingview context contains a list of users that the relevant user is following (given via theusernamein the URL)user.profile.followingor justprofile.followingbase.htmlso we have consistent branding (inaccounts/templates/accounts/user_civis.html)