Closed PraveenMalethia closed 3 years ago
also, we can get rid of signals and reduce code! signals which are for updating comment count! this will also improve the readability of code! solving the issue https://github.com/divanov11/Mumble/issues/443
Do you think it will slow down load time? I added that as a hard coded value so we dont have to perform the calculation on each request...
I will add the comment count as a field in the serializer and get the count in the method and comment count from models will be removed in order to save space in DB! in method, the function will fetch the mumble who has the parent id attached!