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.MonthMixin
  • References/Python/Django/API/Date-based mixins

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

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

get_next_month(date) [source] Returns a date object containing the first day of the month

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

get_year_format() [source] Returns the

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

get_previous_month(date) [source] Returns a date object containing the first day of the month

2025-01-10 15:47:30