Use proper URL names and reverse()
Stop PY3 flake8 from complaining