MCPcopy
hub / github.com/django/django / get_previous_day

Method get_previous_day

django/views/generic/dates.py:154–156  ·  view source on GitHub ↗

Get the previous valid day.

(self, date)

Source from the content-addressed store, hash-verified

152 return _get_next_prev(self, date, is_previous=False, period="day")
153
154 def get_previous_day(self, date):
155 """Get the previous valid day."""
156 return _get_next_prev(self, date, is_previous=True, period="day")
157
158 def _get_next_day(self, date):
159 """

Callers 1

_get_dated_itemsMethod · 0.80

Calls 1

_get_next_prevFunction · 0.85

Tested by

no test coverage detected