Better names for polls app urls
Adds compatibility with Python 3