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):
123 server = dbmodels.ForeignKey(Server, related_name='roles')
124 role = dbmodels.CharField(max_length=128, choices=ROLE.choices())
133 class ServerAttribute(dbmodels.Model, model_logic.ModelExtensions):
135 server = dbmodels.ForeignKey(Server, related_name='attributes')
136 attribute = dbmodels.CharField(max_length=128)
137 value = dbmodels.TextField(null=True, blank=True)
138 date_modified = dbmodels.DateTimeField(null=True, blank=True)