views.generic.dates.DayMixin.get_day()

get_day() [source]

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

  • The value of the DayMixin.day attribute.
  • The value of the day argument captured in the URL pattern.
  • The value of the day GET query argument.

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

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

Please login to continue.