MCPcopy
hub / github.com/django/django / get_month_format

Method get_month_format

django/views/generic/dates.py:77–82  ·  view source on GitHub ↗

Get a month format string in strptime syntax to be used to parse the month from url variables.

(self)

Source from the content-addressed store, hash-verified

75 month = None
76
77 def get_month_format(self):
78 """
79 Get a month format string in strptime syntax to be used to parse the
80 month from url variables.
81 """
82 return self.month_format
83
84 def get_month(self):
85 """Return the month for which this view should display data."""

Callers 3

get_dated_itemsMethod · 0.80
get_dated_itemsMethod · 0.80
get_objectMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected