Modernize django-voting

I want to make django-voting run on py3k, and this is a few steps towards that.