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
def _checkParams(self, params): RHChatManageEventBase._checkParams(self, params) RHEventChatroomMixin._checkParams(self)
def _checkParams(self, params): RHChatManageEventBase._checkParams(self, params)