Fixed settings.py and updated categories.html