Searched refs:dbmodels (Results 1 – 7 of 7) sorted by relevance
/external/autotest/frontend/tko/ |
D | models.py | 1 from django.db import models as dbmodels, connection unknown 124 class Machine(dbmodels.Model): 126 machine_idx = dbmodels.AutoField(primary_key=True) 127 hostname = dbmodels.CharField(unique=True, max_length=255) 128 machine_group = dbmodels.CharField(blank=True, max_length=240) 129 owner = dbmodels.CharField(blank=True, max_length=240) 136 class Kernel(dbmodels.Model): 138 kernel_idx = dbmodels.AutoField(primary_key=True) 139 kernel_hash = dbmodels.CharField(max_length=105, editable=False) 140 base = dbmodels.CharField(max_length=90) [all …]
|
D | rpc_interface.py | 2 from django.db import models as dbmodels unknown 282 q = (dbmodels.Q(test_name__startswith='kernbench') | 283 dbmodels.Q(test_name__startswith='dbench') | 284 dbmodels.Q(test_name__startswith='tbench') | 285 dbmodels.Q(test_name__startswith='unixbench') | 286 dbmodels.Q(test_name__startswith='iozone'))
|
/external/autotest/frontend/afe/ |
D | models.py | 7 from django.db import models as dbmodels, connection unknown 39 class AtomicGroup(model_logic.ModelWithInvalid, dbmodels.Model): 54 name = dbmodels.CharField(max_length=255, unique=True) 55 description = dbmodels.TextField(blank=True) 63 max_number_of_machines = dbmodels.IntegerField(default=INFINITE_MACHINES) 64 invalid = dbmodels.BooleanField(default=False, 96 class Label(model_logic.ModelWithInvalid, dbmodels.Model): 109 name = dbmodels.CharField(max_length=255, unique=True) 110 kernel_config = dbmodels.CharField(max_length=255, blank=True) 111 platform = dbmodels.BooleanField(default=False) [all …]
|
D | rdb_model_extensions.py | 10 from django.db import models as dbmodels unknown 59 if isinstance(value, dbmodels.Model): 71 if type(field) == dbmodels.BooleanField and field.name in data: 91 if obj.default is not dbmodels.fields.NOT_PROVIDED: 93 elif (isinstance(obj, dbmodels.CharField) or 94 isinstance(obj, dbmodels.TextField)): 169 class AbstractHostModel(dbmodels.Model, ModelValidators): 185 hostname = dbmodels.CharField(max_length=255, unique=True) 186 locked = dbmodels.BooleanField(default=False) 187 leased = dbmodels.BooleanField(default=True) [all …]
|
D | model_logic.py | 9 from django.db import models as dbmodels unknown 29 class LeasedHostManager(dbmodels.Manager): 37 class ExtendedManager(dbmodels.Manager): 482 class ModelWithInvalidQuerySet(dbmodels.query.QuerySet): 1355 class ModelWithHashManager(dbmodels.Manager): 1368 class ModelWithHash(dbmodels.Model): 1371 the_hash = dbmodels.CharField(max_length=40, unique=True)
|
D | admin.py | 5 from django.db import models as dbmodels unknown
|
/external/autotest/frontend/server/ |
D | models.py | 8 from django.db import models as dbmodels unknown 17 class Server(dbmodels.Model, model_logic.ModelExtensions): 30 hostname = dbmodels.CharField(unique=True, max_length=128) 31 cname = dbmodels.CharField(null=True, blank=True, default=None, 33 status = dbmodels.CharField(unique=False, max_length=128, 35 date_created = dbmodels.DateTimeField(null=True, blank=True) 36 date_modified = dbmodels.DateTimeField(null=True, blank=True) 37 note = dbmodels.TextField(null=True, blank=True) 95 class ServerRole(dbmodels.Model, model_logic.ModelExtensions): 114 server = dbmodels.ForeignKey(Server, related_name='roles') [all …]
|