'Get the object this request displays.'

def get_object(self, queryset=None):

    year = self.get_year()
    month = self.get_month()
    day = self.get_day()
    date = _date_from_string(year, self.get_year_format(), month, self.get_month_format(), day, self.get_day_format())
    qs = (queryset or self.get_queryset())
    if ((not self.get_allow_future()) and (date > datetime.date.today())):
        raise Http404((_(u'Future    %(verbose_name_plural)s    not    available    because    %(class_name)s.allow_future    is    False.') % {u'verbose_name_plural': qs.model._meta.verbose_name_plural, u'class_name': self.__class__.__name__}))
    lookup_kwargs = self._make_single_date_lookup(date)
    qs = qs.filter(**lookup_kwargs)
    return super(BaseDetailView, self).get_object(queryset=qs)
