get_year()
[source]
Returns the year for which this view will display data, as a string. Tries the following sources, in order:
- The value of the
YearMixin.year
attribute. - The value of the
year
argument captured in the URL pattern. - The value of the
year
GET
query argument.
Raises a 404 if no valid year specification can be found.
Please login to continue.