#NEWLINE# def add_newslink_data( apps , schema_editor ) : #NEWLINE# #INDENT# NewsLink = apps . get_model ( 'organizer' , 'NewsLink' ) #NEWLINE# Startup = apps . get_model ( 'organizer' , 'Startup' ) #NEWLINE# for newslink_dict in NEWSLINKS : #NEWLINE# #INDENT# newslink = NewsLink . objects . create ( title = newslink_dict [ 'title' ] , link = newslink_dict [ 'link' ] , pub_date = newslink_dict [ 'pub_date' ] , startup = Startup . objects . get ( slug = newslink_dict [ 'startup' ] ) )