#NEWLINE# def __init__( self , field = None , start_date = None , end_date = None , **kwargs ) : #NEWLINE# #INDENT# total_days = ( ( end_date - self ) . days + 1 ) #NEWLINE# headers = [ self . WEEK_NAME [ ( start_date + timedelta ( day ) ) . weekday ( ) ] for day in range ( total_days ) ] #NEWLINE# super ( WeeksColumn , self ) . __init__ ( field , headers , ** kwargs )