This is HydroShare ratings application. The original code is from django-generic-ratings application.
See original codes here https://pypi.python.org/pypi/django-generic-ratings