示例#1
0
    def _checkParams(self, params):
        RHChatManageEventBase._checkParams(self, params)
        RHEventChatroomMixin._checkParams(self)

        if 'get_all_logs' not in request.values:
            self.start_date = datetime.strptime(request.values['start_date'], '%d/%m/%Y').date()
            self.end_date = datetime.strptime(request.values['end_date'], '%d/%m/%Y').date()
            self.date_filter = True
        else:
            self.start_date = self.end_date = None
            self.date_filter = False
示例#2
0
    def _checkParams(self, params):
        RHChatManageEventBase._checkParams(self, params)
        RHEventChatroomMixin._checkParams(self)

        if 'get_all_logs' not in request.values:
            self.start_date = datetime.strptime(request.values['start_date'],
                                                '%d/%m/%Y').date()
            self.end_date = datetime.strptime(request.values['end_date'],
                                              '%d/%m/%Y').date()
            self.date_filter = True
        else:
            self.start_date = self.end_date = None
            self.date_filter = False
示例#3
0
 def _checkParams(self, params):
     RHChatManageEventBase._checkParams(self, params)
     RHEventChatroomMixin._checkParams(self)
示例#4
0
 def _checkParams(self, params):
     RHChatManageEventBase._checkParams(self, params)
示例#5
0
 def _checkParams(self, params):
     RHChatManageEventBase._checkParams(self, params)
     RHEventChatroomMixin._checkParams(self)
示例#6
0
 def _checkParams(self, params):
     RHChatManageEventBase._checkParams(self, params)