def METHOD_NAME(self):
    self._filters = {}
    self._description = _("All orders")
    if self.errors:
        return
    date_from = self.cleaned_data["date_from"]
    date_to = self.cleaned_data["date_to"]
    if date_from and date_to:
        # We want to include end date so we adjust the date we use with the
        # 'range' function.
        self._filters = {
            "date_placed__range": [date_from, date_to + datetime.timedelta(days=1)]
        }
        self._description = _(
            "Orders placed between %(date_from)s and %(date_to)s"
        ) % {"date_from": date_from, "date_to": date_to}
    elif date_from and not date_to:
        self._filters = {"date_placed__gte": date_from}
        self._description = _("Orders placed since %s") % (date_from,)
    elif not date_from and date_to:
        self._filters = {"date_placed__lte": date_to}
        self._description = _("Orders placed until %s") % (date_to,)
    else:
        self._filters = {}
        self._description = _("All orders")