示例#1
0
文件: model.py 项目: jaunis/xivo-dao
 def __init__(self, *args, **kwargs):
     NewModel.__init__(self, *args, **kwargs)
     if self.commented is None:
         self.commented = False
示例#2
0
文件: model.py 项目: jaunis/xivo-dao
 def __init__(self, *args, **kwargs):
     NewModel.__init__(self, *args, **kwargs)
     if self.commented is None:
         self.commented = False
示例#3
0
 def to_user_data(self):
     user_data = NewModel.to_user_data(self)
     user_data['caller_id'] = self.generate_caller_id()
     return user_data
示例#4
0
 def __init__(self, **kwargs):
     NewModel.__init__(self, **kwargs)
     if self.did_length is None:
         self.did_length = 0
示例#5
0
文件: model.py 项目: jlebleu/xivo-dao
 def __init__(self, *args, **kwargs):
     NewModel.__init__(self, *args, **kwargs)
示例#6
0
文件: model.py 项目: jaunis/xivo-dao
 def __init__(self, *args, **kwargs):
     NewModel.__init__(self, *args, **kwargs)
     self._related_cels = []
示例#7
0
文件: model.py 项目: jaunis/xivo-dao
 def __init__(self, *args, **kwargs):
     NewModel.__init__(self, *args, **kwargs)
     if self.main_user is None:
         self.main_user = True
     if self.main_line is None:
         self.main_line = True
示例#8
0
文件: model.py 项目: jaunis/xivo-dao
 def __init__(self, *args, **kwargs):
     NewModel.__init__(self, *args, **kwargs)
     if self.main_user is None:
         self.main_user = True
     if self.main_line is None:
         self.main_line = True
示例#9
0
文件: model.py 项目: jaunis/xivo-dao
 def __init__(self, *args, **kwargs):
     NewModel.__init__(self, *args, **kwargs)
     if self.enabled is None:
         self.enabled = True
示例#10
0
文件: model.py 项目: jaunis/xivo-dao
 def __init__(self, *args, **kwargs):
     NewModel.__init__(self, *args, **kwargs)
     self._related_cels = []
示例#11
0
 def __init__(self, **kwargs):
     NewModel.__init__(self, **kwargs)
     if self.did_length is None:
         self.did_length = 0
示例#12
0
文件: model.py 项目: jaunis/xivo-dao
 def to_user_data(self):
     user_data = NewModel.to_user_data(self)
     user_data['caller_id'] = self.generate_caller_id()
     return user_data
示例#13
0
 def __init__(self, *args, **kwargs):
     NewModel.__init__(self, *args, **kwargs)
     if self.enabled is None:
         self.enabled = True