Some PY3 love

I made this little changes so that I can install the app in PY3.   Since we're supporting django>=1.2, which doesn't support PY3, I thought that this was an acceptable way to do it.