views.generic.dates.MonthMixin.get_month()

get_month() [source]

Returns the month for which this view will display data, as a string. Tries the following sources, in order:

  • The value of the MonthMixin.month attribute.
  • The value of the month argument captured in the URL pattern.
  • The value of the month GET query argument.

Raises a 404 if no valid month specification can be found.

doc_Django
2016-10-09 18:40:56
Comments
Leave a Comment

Please login to continue.