Searched refs:get_or_create (Results 1 – 7 of 7) sorted by relevance
30 test_parameter = models.TestParameter.objects.get_or_create(
194 model = models.Profiler.objects.get_or_create(name=name)[0]217 new_test = models.Test.objects.get_or_create(249 test_parameter = models.TestParameter.objects.get_or_create(
22 admin_group, created = auth.models.Group.objects.get_or_create(
1334 attribute_object, _ = attribute_model.objects.get_or_create(**get_args)1363 def get_or_create(self, **kwargs): member in ModelWithHashManager1365 return super(ModelWithHashManager, self).get_or_create(**kwargs)
376 user, _ = cls.objects.get_or_create(login=cls.AUTOTEST_SYSTEM)1070 kernel, _ = cls.objects.get_or_create(version=version,
37 user, created = models.User.objects.get_or_create(login=username)
130 entity, unused_is_new = self.model_class.objects.get_or_create(**args)