'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 = 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.') % {'verbose_name_plural': qs.model._meta.verbose_name_plural, 'class_name': self.__class__.__name__}))
    date_field = self.get_date_field()
    field = qs.model._meta.get_field(date_field)
    lookup = _date_lookup_for_field(field, date)
    qs = qs.filter(**lookup)
    return super(BaseDetailView, self).get_object(queryset=qs)
