#NEWLINE# def make_entry_bulk( self , users , days , * args , **kwargs ) : #NEWLINE# #INDENT# '\n        Create entries for users listed, from n days ago (but not today)\n        make_entry_bulk(users_list, num_days)\n        ' #NEWLINE# for user in users : #NEWLINE# #INDENT# self . default_data . update ( { #NEWLINE# #INDENT# 'user' : user , #NEWLINE# #UNINDENT# } ) #NEWLINE# for day in range ( 1 , ( days + 1 ) ) : #NEWLINE# #INDENT# self . default_data . update ( { #NEWLINE# #INDENT# 'start_time' : ( timezone . now ( ) - relativedelta ( days = day , minutes = 1 ) ) , #NEWLINE# 'end_time' : ( timezone . now ( ) - relativedelta ( days = day ) ) , #NEWLINE# #UNINDENT# } ) #NEWLINE# factories . Entry ( ** self . default_data )