#NEWLINE# def __init__( self , * args , **kwargs ) : #NEWLINE# #INDENT# super ( ModelResource , self ) . __init__ ( * args , ** kwargs ) #NEWLINE# for ( field_name , field_object ) in self . fields . items ( ) : #NEWLINE# #INDENT# if ( kwargs in getattr ( self . _meta , 'uploads' , [ ] ) ) : #NEWLINE# #INDENT# field_object . readonly = True