class documentation
class YearMixin: (source)
Known subclasses: django.views.generic.dates.BaseDateDetailView
, django.views.generic.dates.BaseDayArchiveView
, django.views.generic.dates.BaseMonthArchiveView
, django.views.generic.dates.BaseWeekArchiveView
, django.views.generic.dates.BaseYearArchiveView
Mixin for views manipulating year-based data.
Method | get |
Get the next valid year. |
Method | get |
Get the previous valid year. |
Method | get |
Return the year for which this view should display data. |
Method | get |
Get a year format string in strptime syntax to be used to parse the year from url variables. |
Class Variable | year |
Undocumented |
Class Variable | year |
Undocumented |
Method | _get |
Return the start date of the current interval. |
Method | _get |
Return the start date of the next interval. |