Lines Matching refs:models
11 from autotest_lib.frontend.afe import model_logic, models
43 model = models.AtomicGroup
52 return models.AtomicGroup.valid_objects
54 admin.site.register(models.AtomicGroup, AtomicGroupAdmin)
59 model = models.Label
69 return models.Label.valid_objects
71 admin.site.register(models.Label, LabelAdmin)
78 admin.site.register(models.User, UserAdmin)
95 label_names =(models.Label.objects.filter(id__in=value)
119 label_ids = (models.Label.objects.filter(name__in=label_names)
148 model = models.Host
152 model = models.HostAttribute
198 return models.Host.valid_objects
255 admin.site.register(models.Host, HostAdmin)
267 admin.site.register(models.Test, TestAdmin)
274 admin.site.register(models.Profiler, ProfilerAdmin)
283 return models.AclGroup.objects.exclude(name='Everyone')
295 admin.site.register(models.AclGroup, AclGroupAdmin)
302 for drone_set in models.DroneSet.objects.exclude(id=self.instance.id):
304 available_drones = models.Drone.objects.exclude(id__in=drone_ids_used)
314 admin.site.register(models.DroneSet, DroneSetAdmin)
316 admin.site.register(models.Drone)
324 admin.site.register(models.Job, JobAdmin)
330 admin.site.register(models.IneligibleHostQueue, IneligibleHostQueueAdmin)
337 admin.site.register(models.HostQueueEntry, HostQueueEntryAdmin)
339 admin.site.register(models.AbortedHostQueueEntry)