Exemplo n.º 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
Exemplo n.º 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
Exemplo n.º 3
0
 def _checkParams(self, params):
     RHChatManageEventBase._checkParams(self, params)
     RHEventChatroomMixin._checkParams(self)
Exemplo n.º 4
0
 def _checkParams(self, params):
     RHChatManageEventBase._checkParams(self, params)
Exemplo n.º 5
0
 def _checkParams(self, params):
     RHChatManageEventBase._checkParams(self, params)
     RHEventChatroomMixin._checkParams(self)
Exemplo n.º 6
0
 def _checkParams(self, params):
     RHChatManageEventBase._checkParams(self, params)