diff --git a/django_starfield/widgets.py b/django_starfield/widgets.py index 285fa46d36d506a5bf7994e64780f792a338700f..e07036909d6cbb97b04073f67836dbb154eae519 100644 --- a/django_starfield/widgets.py +++ b/django_starfield/widgets.py @@ -9,5 +9,5 @@ class Stars(Widget): def get_context(self, name, value, attrs): context = super(Stars, self).get_context(name, value, attrs) - context['stars'] = self.stars + context['stars'] = range(self.stars, 0, -1) return context