Example #1
0
 def db_content(self):
     return db_link_repr(ContentDB, self['content'])
Example #2
0
 def db_emailsettingslink(self):
     return db_link_repr(EmailSettingsDB, self['emailsettings'])
Example #3
0
 def db_user(self):
     from user import UserDB
     return db_link_repr(UserDB, self['user'])
Example #4
0
 def db_content(self):
     return db_link_repr(ContentDB, self['content'])
Example #5
0
 def db_requisiteslink(self):
     return db_link_repr(RequisitesDB, self['requisites'])
Example #6
0
 def db_periodic(self):
     from periodic import PeriodicDB
     return db_link_repr(PeriodicDB, self['periodic'])
Example #7
0
 def db_contractors(self):
     from contactor import ContactorDB
     return ', '.join([db_link_repr(ContactorDB, ObjectId(c)) for c in self['contractors']])
Example #8
0
 def db_userlink(self):
     return db_link_repr(UserDB, self['user'])
Example #9
0
 def db_contractors(self):
     from contactor import ContactorDB
     return db_link_repr(ContactorDB, self['contractor'])
Example #10
0
 def db_content(self):
     from content import ContentDB
     return db_link_repr(ContentDB, self['content'])
Example #11
0
 def db_contractors(self):
     from contactor import ContactorDB
     return ', '.join([
         db_link_repr(ContactorDB, ObjectId(c)) for c in self['contractors']
     ])
Example #12
0
 def db_periodic(self):
     from periodic import PeriodicDB
     return db_link_repr(PeriodicDB, self['periodic'])