Returns a date object containing the first day of the year after the
date provided. This function can also return None or raise an
Http404 exception, depending on the values of
allow_empty and
allow_future.

Returns a date object containing the first day of the year before the
date provided. This function can also return None or raise an
Http404 exception, depending on the values of
allow_empty and
allow_future.

Returns a date object containing the first day of the month after the
date provided. This function can also return None or raise an
Http404 exception, depending on the values of
allow_empty and
allow_future.

Returns a date object containing the first day of the month before the
date provided. This function can also return None or raise an
Http404 exception, depending on the values of
allow_empty and
allow_future.

Returns a date object containing the first day of the week after the
date provided. This function can also return None or raise an
Http404 exception, depending on the values of
allow_empty and
allow_future.

Returns a date object containing the first day of the week before the
date provided. This function can also return None or raise an
Http404 exception, depending on the values of
allow_empty and
allow_future.

The name of the DateField or DateTimeField in the
QuerySet’s model that the date-based archive should use to
determine the list of objects to display on the page.

When time zone support is enabled and
date_field is a DateTimeField, dates are assumed to be in the
current time zone. Otherwise, the queryset could include objects from
the previous or the next day in the end user’s time zone.

Warning

In this situation, if you have implemented per-user time zone
selection, the same URL may show a different set of objects,
depending on the end user’s time zone. To avoid this, you should
use a DateField as the date_field attribute.

A boolean specifying whether to include “future” objects on this page,
where “future” means objects in which the field specified in
date_field is greater than the current date/time. By default, this
is False.

Determine whether to include “future” objects on this page, where
“future” means objects in which the field specified in date_field
is greater than the current date/time. Returns
allow_future by default.

A base class that provides common behavior for all date-based views. There
won’t normally be a reason to instantiate
BaseDateListView; instantiate one of
the subclasses instead.

While this view (and its subclasses) are executing, self.object_list
will contain the list of objects that the view is operating upon, and
self.date_list will contain the list of dates for which data is
available.

date_list is the list of dates for which data is available.
object_list is the list of objects. extra_context is a
dictionary of context data that will be added to any context data
provided by the
MultipleObjectMixin.

Returns the list of dates of type date_type for which queryset
contains entries. For example, get_date_list(qs,'year') will
return the list of years for which qs has entries. If
date_type isn’t provided, the result of
get_date_list_period() is used. date_type
and ordering are simply passed to
QuerySet.dates().