def setUp(self): add_trigger_function() change_detect(Pizza) self.user = User(username='******', is_superuser=True) self.user.set_password('password') self.user.save()
def setUp(self): add_trigger_function() self.user = User(username='******', is_superuser=True) self.user.set_password('password') self.user.save() self.client.login(username='******', password='******')