Lines Matching refs:models
5 from django.db import models as dbmodels
12 from autotest_lib.frontend.afe import model_logic, models
44 model = models.AtomicGroup
53 return models.AtomicGroup.valid_objects
55 admin.site.register(models.AtomicGroup, AtomicGroupAdmin)
60 model = models.Label
73 return models.Label.valid_objects
75 admin.site.register(models.Label, LabelAdmin)
82 admin.site.register(models.User, UserAdmin)
99 label_names =(models.Label.objects.filter(id__in=value)
123 label_ids = (models.Label.objects.filter(name__in=label_names)
152 model = models.Host
156 model = models.HostAttribute
202 return models.Host.valid_objects
258 admin.site.register(models.Host, HostAdmin)
270 admin.site.register(models.Test, TestAdmin)
277 admin.site.register(models.Profiler, ProfilerAdmin)
286 return models.AclGroup.objects.exclude(name='Everyone')
298 admin.site.register(models.AclGroup, AclGroupAdmin)
305 for drone_set in models.DroneSet.objects.exclude(id=self.instance.id):
307 available_drones = models.Drone.objects.exclude(id__in=drone_ids_used)
317 admin.site.register(models.DroneSet, DroneSetAdmin)
319 admin.site.register(models.Drone)
327 admin.site.register(models.Job, JobAdmin)
333 admin.site.register(models.IneligibleHostQueue, IneligibleHostQueueAdmin)
340 admin.site.register(models.HostQueueEntry, HostQueueEntryAdmin)
342 admin.site.register(models.AbortedHostQueueEntry)