MCPcopy
hub / github.com/django/django / get_next_month

Method get_next_month

django/views/generic/dates.py:97–99  ·  view source on GitHub ↗

Get the next valid month.

(self, date)

Source from the content-addressed store, hash-verified

95 return month
96
97 def get_next_month(self, date):
98 """Get the next valid month."""
99 return _get_next_prev(self, date, is_previous=False, period="month")
100
101 def get_previous_month(self, date):
102 """Get the previous valid month."""

Callers 2

get_dated_itemsMethod · 0.80
_get_dated_itemsMethod · 0.80

Calls 1

_get_next_prevFunction · 0.85

Tested by

no test coverage detected