class documentation

Mixin for views manipulating month-based data.

Method get_month Return the month for which this view should display data.
Method get_month_format Get a month format string in strptime syntax to be used to parse the month from url variables.
Method get_next_month Get the next valid month.
Method get_previous_month Get the previous valid month.
Class Variable month Undocumented
Class Variable month_format Undocumented
Method _get_current_month Return the start date of the previous interval.
Method _get_next_month Return the start date of the next interval.
def get_month(self): (source)

Return the month for which this view should display data.

def get_month_format(self): (source)

Get a month format string in strptime syntax to be used to parse the month from url variables.

def get_next_month(self, date): (source)

Get the next valid month.

def get_previous_month(self, date): (source)

Get the previous valid month.

Undocumented

month_format: str = (source)

Undocumented

def _get_current_month(self, date): (source)

Return the start date of the previous interval.

def _get_next_month(self, date): (source)

Return the start date of the next interval. The interval is defined by start date <= item date < next start date.