Applied https://github.com/dcramer/django-ratings/pull/43 - Django 1.5 support