Closed sozkan4 closed 11 months ago
Yes I agree with @sehmuzc. It seems like we don't need the migrations. Can you delete them please?
Hello again, it remains from the former usertaginteraction algo. I have deleted the files, could you please review again ? Thanks in advance.
Description
This PR updates the recommendation algorithm in the
my_spaces_list
view to simplify it and make recommendations based on similar tags in posts across different spaces. The previous implementation had some errors and inconsistencies, which have been addressed in this PR.Changes Made
my_spaces_list
view inspaces/views.py
to use a simplified recommendation algorithm based on tag similarity.UserTagInteraction
model and adjusted the strategy to count the total number of each tag used in posts for the user's spaces.Post
model to include a method for updating the tags counter for recommendations.Testing
my_spaces_list
view with various scenarios, including different tag combinations and spaces.Screenshots
Checklist
my_spaces_list
view.UserTagInteraction
model.Post
model for updating the tags counter.Please review this PR and let me know if any further changes are required. Thank you!