Example #1
0
 def setUp(self):
     add_trigger_function()
     change_detect(Pizza)
     self.user = User(username='******', is_superuser=True)
     self.user.set_password('password')
     self.user.save()
Example #2
0
 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='******')
 def setUp(self):
     add_trigger_function()
     change_detect(Pizza)
     self.user = User(username='******', is_superuser=True)
     self.user.set_password('password')
     self.user.save()
Example #4
0
 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='******')