Updated the categories app to conform to PEP8.