urls.py fix + minor pep8