Lines Matching refs:dbmodels
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)
188 synch_id = dbmodels.IntegerField(blank=True, null=True,
190 status = dbmodels.CharField(max_length=255, default=Status.READY,
193 invalid = dbmodels.BooleanField(default=False,
195 protection = dbmodels.SmallIntegerField(null=False, blank=True,
198 lock_time = dbmodels.DateTimeField(null=True, blank=True, editable=False)
199 dirty = dbmodels.BooleanField(default=True, editable=settings.FULL_ADMIN)
200 lock_reason = dbmodels.CharField(null=True, max_length=255, blank=True,