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