Hey, 

A rating feature for a peer reviewed books website would look somewhat like:
- A books model having "no_of_reviews" and "rating" field

Every time a user rates a book no_of_reviews field would be incremented and 
rating field would be updated.

If you think I somehow missed the point then please let me know.

On Sunday, June 14, 2020 at 12:37:05 AM UTC+5:30, learn code wrote:
>
> Hello Everyone,
>
> Can anyone tell me how to add a star rating feature in Django application?
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/dcce83fc-5925-4587-9ed6-d6884cd85b39o%40googlegroups.com.

Reply via email to