django-ratings
django-ratings copied to clipboard
Pluggable rating fields in Django.
When updating a vote that was already made, Django 1.0 crashes with a ValueError, caused by trying to use an uncast StringMorsel in a query. This pull casts cookies to...
fix non-keyword arg after keyword arg original snippet doesn't work for me with py 2.7.3 / django 1.4.1
Includes: - Changes from #43 - Fixes for South migration issues when migrating from scratch (and using a custom user model). Similar to https://github.com/lukaszb/django-guardian/pull/116/files
- djangoratings/fields.py:319: DeprecationWarning: A Field class whose get_db_prep_save method hasn't been updated to take a `connection` argument. -djangoratings/fields.py:319: DeprecationWarning: A Field class whose get_db_prep_lookup method hasn't been updated to take...
Fix for deprecation warning. Originally found in Kronuz's fork.
This adds lower/upper values in accepted score ranges, it also allows optional named scores such as accepting 'up', 'clear' or 'down' or any for each score. A widget template tag...
I followed closely your tutorial and my app works just fine on localhost on sqlite or postgres, but I've tried to deploy on Heroku and I'm getting the following error:...
The view accepts vote updates as a GET request (actually any kind of request). As such it is trivial to use this to exploit the rating system from any third...
I installed the django-ratings package via pip and followed your installation instructions. I added an anonymous rating field like so: ``` python from djangoratings.fields import AnonymousRatingField class Foo(models.Model): name =...
When I'm developing locally, I can leave the weight as default (0) and not get any errors when calculating the average rating using `qs.extra()`. However on a production server with...