Pep8 and category slug url fix.