#NEWLINE# def add_id_to_detail_page_url_scraped_obj_attributes( apps , schema_editor ) : #NEWLINE# #INDENT# ScrapedObjAttr = apps . get_model ( 'dynamic_scraper' , 'ScrapedObjAttr' ) #NEWLINE# for soa in ScrapedObjAttr . objects . all ( ) : #NEWLINE# #INDENT# if ( apps . attr_type == 'U' ) : #NEWLINE# #INDENT# soa . id_field = True #NEWLINE# soa . save ( )