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
2016-10-09 18:40:56
Comments
Leave a Comment

Please login to continue.