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

get_allow_future() [source] Determine whether to include “future” objects on this page, where

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.WeekMixin.get_week()
  • References/Python/Django/API/Date-based mixins

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

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

class DateMixin [source] A mixin class providing common behavior for all date-based views

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

get_month_format() [source] Returns the

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

get_day() [source] Returns the day for which this view will display data, as a string. Tries

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

date_list_period Optional A string defining the aggregation period for date_list. It must be one

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

get_date_field() [source] Returns the name of the field that contains the date data that

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

get_next_week(date) [source] Returns a date object containing the first day of the week after

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

get_next_year(date) [source] Returns a date object containing the first day of the year after

2025-01-10 15:47:30