Lines Matching refs:dbmodels
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')
115 role = dbmodels.CharField(max_length=128, choices=ROLE.choices())
124 class ServerAttribute(dbmodels.Model, model_logic.ModelExtensions):
126 server = dbmodels.ForeignKey(Server, related_name='attributes')
127 attribute = dbmodels.CharField(max_length=128)
128 value = dbmodels.TextField(null=True, blank=True)
129 date_modified = dbmodels.DateTimeField(null=True, blank=True)