views.generic.dates.BaseDateListView.get_dated_items()
  • References/Python/Django/API/Date-based mixins

get_dated_items() [source] Returns a 3-tuple containing (date_list, object_list

2025-01-10 15:47:30
views.generic.dates.DateMixin.allow_future
  • References/Python/Django/API/Date-based mixins

allow_future A boolean specifying whether to include “future” objects on this page, where “future” means objects in which the

2025-01-10 15:47:30
views.generic.dates.DayMixin.get_previous_day()
  • References/Python/Django/API/Date-based mixins

get_previous_day(date) [source] Returns a date object containing the previous valid day.

2025-01-10 15:47:30
views.generic.dates.WeekMixin.get_prev_week()
  • References/Python/Django/API/Date-based mixins

get_prev_week(date) Returns a date object containing the first day of the week before the date provided. This function can also

2025-01-10 15:47:30
views.generic.dates.BaseDateListView.allow_empty
  • References/Python/Django/API/Date-based mixins

allow_empty A boolean specifying whether to display the page if no objects are available. If this is True and no

2025-01-10 15:47:30
views.generic.dates.DayMixin.get_next_day()
  • References/Python/Django/API/Date-based mixins

get_next_day(date) [source] Returns a date object containing the next valid day after the

2025-01-10 15:47:30
views.generic.dates.YearMixin.year_format
  • References/Python/Django/API/Date-based mixins

year_format The

2025-01-10 15:47:30
views.generic.dates.MonthMixin.month
  • References/Python/Django/API/Date-based mixins

month Optional The value for the month, as a string. By default, set to None, which means the

2025-01-10 15:47:30
views.generic.dates.DayMixin
  • References/Python/Django/API/Date-based mixins

class DayMixin [source] A mixin that can be used to retrieve and provide parsing information

2025-01-10 15:47:30
views.generic.dates.YearMixin.get_year()
  • References/Python/Django/API/Date-based mixins

get_year() [source] Returns the year for which this view will display data, as a string.

2025-01-10 15:47:30