Searched refs:dbmodels (Results 1 – 6 of 6) 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 | 3 from django.db import models as dbmodels unknown 284 q = (dbmodels.Q(test_name__startswith='kernbench') | 285 dbmodels.Q(test_name__startswith='dbench') | 286 dbmodels.Q(test_name__startswith='tbench') | 287 dbmodels.Q(test_name__startswith='unixbench') | 288 dbmodels.Q(test_name__startswith='iozone'))
|
/external/autotest/frontend/afe/ |
D | models.py | 11 from django.db import models as dbmodels, connection unknown 47 class AtomicGroup(model_logic.ModelWithInvalid, dbmodels.Model): 62 name = dbmodels.CharField(max_length=255, unique=True) 63 description = dbmodels.TextField(blank=True) 71 max_number_of_machines = dbmodels.IntegerField(default=INFINITE_MACHINES) 72 invalid = dbmodels.BooleanField(default=False, 104 class Label(model_logic.ModelWithInvalid, dbmodels.Model): 117 name = dbmodels.CharField(max_length=255, unique=True) 118 kernel_config = dbmodels.CharField(max_length=255, blank=True) 119 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): 184 hostname = dbmodels.CharField(max_length=255, unique=True) 185 locked = dbmodels.BooleanField(default=False) 186 leased = dbmodels.BooleanField(default=True) [all …]
|
D | model_logic.py | 8 from django.db import models as dbmodels unknown 28 class LeasedHostManager(dbmodels.Manager): 36 class ExtendedManager(dbmodels.Manager): 476 class ModelWithInvalidQuerySet(dbmodels.query.QuerySet): 1361 class ModelWithHashManager(dbmodels.Manager): 1374 class ModelWithHash(dbmodels.Model): 1377 the_hash = dbmodels.CharField(max_length=40, unique=True)
|
/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): 123 server = dbmodels.ForeignKey(Server, related_name='roles') [all …]
|