Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upFeature reuqest: Bookmarking of posts and thereby threads #12
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Logmytech commentedDec 5, 2017
I'm going to be trying to implement bookmarking for posts.
The db part will be easy and the voting part? It will be easy too cos we will be using the existing vote view.
But I'm considering creating a separate model for bookmark like the upvote object with data like categories for user to organize his/her bookmarks.
I don't know if I should do this or create a simple ManyToManyField.
And for counting the number of bookmarks should be just count the many to manyfield or should we store an IntegerField.
I'm thinking integerField is not required since bookmarking doesn't have any points unlike upvoted.
So, just counting the number of ManyToMany rels.
@EatEmAll Please present your thoughts on this.
We are going to ramp up this project and make it awesome.
I can't write tests though.