views.generic.dates.DayMixin.get_previous_day()

get_previous_day(date) [source]

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

doc_Django
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.