def tearDown(self):
    settings.DEBUG = self.old_DEBUG
    Site._meta.installed = self.old_Site_meta_installed
def tearDown(self):
    settings.DEBUG = self.old_DEBUG
    Site._meta.installed = self.old_Site_meta_installed