Closed brylie closed 1 year ago
I would like to work on this.
Regarding the newly created following tab, I noticed that there were no added unit testcases provided in the accounts/views_tests.py
We've created some testcases that are consistent with other provided testcases. I'd like to provide these as a new PR.
Please let me know if this is possible and/or if we need to create a new issue for this implementation.
Sure thing, thanks! Just open the new pull request and link it to this issue.
Hello @brylie. Is this issue still open? I will love to work on this issue. Thanks.
Hello, @brylie. I think this issue has been solved already. There is a ProfileFollowing class that renders the users that a specific user is following.
Ok cool beans
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.UserFollowing
(inaccounts/views.py
)profile/<str:username>/following
that renders theUserFollowing
view ( inaccounts/urls.py
)UserFollowing
view context contains a list of users that the relevant user is following (given via theusername
in the URL)user.profile.following
or justprofile.following
base.html
so we have consistent branding (inaccounts/templates/accounts/user_civis.html
)