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.yearattribute. - The value of the
yearargument captured in the URL pattern. - The value of the
yearGETquery argument.
Raises a 404 if no valid year specification can be found.
Please login to continue.