removed random spaces
pep8
changed hardcoded urls to instead use reverse
removed print statement
pep8 cleanup