Skip to main content

Django application to rate objects & stars UI

Project description

Rating of content with stars UI


from django.db import models
from djangoratings.fields import RatingField
from rating.models import RatingBase

class MyModel(models.Model, RatingBase):
    rating = RatingField(range=10, allow_anonymous=True, can_change_vote=True)
    rating_field_names = ('rating',)

RATINGS_VOTES_PER_IP = 3 # or whatever

(r'^stars/', include('rating.urls'))


{% show_stars object "rating" 0 %}

License note

This application contains static files from:

Written by the development team of Arpaso company:

Project details

Release history Release notifications | RSS feed

This version


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

stars-rating-0.1.tar.gz (27.5 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page