On Thu, Jun 24, 2021 at 7:18 PM DJANGO DEVELOPER <[email protected]>
wrote:

> Hi Django experts.
> I am building a Django, DRF based mobile app and I want to have
> functionality of up votes and down votes for posts that user will post.
> So what I want to say here that, if an user upvotes a post then it should
> be get higher ranks as quora questions do. and if there are more down votes
> than up votes then a post should be moved down ward rather than going up.
> I have applied a logic already here and shared the screenshots as well.
> but I am sure that there is a better logic or solution for this problem.
> Thanks in advance.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django REST framework" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-rest-framework/3400b040-1946-4d79-b9e0-6f1f9c0bb30cn%40googlegroups.com
> <https://groups.google.com/d/msgid/django-rest-framework/3400b040-1946-4d79-b9e0-6f1f9c0bb30cn%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django REST framework" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-rest-framework/CAKPY9p%3DfxNfOWYkJ%2BpTabUH%3D2-KjMWrn_6GsEv3wbODqr-jYsQ%40mail.gmail.com.

Reply via email to