def db_content(self): return db_link_repr(ContentDB, self['content'])
def db_emailsettingslink(self): return db_link_repr(EmailSettingsDB, self['emailsettings'])
def db_user(self): from user import UserDB return db_link_repr(UserDB, self['user'])
def db_requisiteslink(self): return db_link_repr(RequisitesDB, self['requisites'])
def db_periodic(self): from periodic import PeriodicDB return db_link_repr(PeriodicDB, self['periodic'])
def db_contractors(self): from contactor import ContactorDB return ', '.join([db_link_repr(ContactorDB, ObjectId(c)) for c in self['contractors']])
def db_userlink(self): return db_link_repr(UserDB, self['user'])
def db_contractors(self): from contactor import ContactorDB return db_link_repr(ContactorDB, self['contractor'])
def db_content(self): from content import ContentDB return db_link_repr(ContentDB, self['content'])
def db_contractors(self): from contactor import ContactorDB return ', '.join([ db_link_repr(ContactorDB, ObjectId(c)) for c in self['contractors'] ])