Fixed errors in admin.py
Fixed formatting in main.json that was causing loaddata to fail.
Fixed PEP violations in models.py
Fixed error in settings.py that caused built-in Django tests to fail