#NEWLINE# def formfield_for_manytomany( self , db_field , request , **kwargs ) : #NEWLINE# #INDENT# '\n        Check `raw_id_fields` for `db_field_name` and use VerboseManyToManyRawIdWidget for m2m relationships\n        ' #NEWLINE# if ( db_field . name in kwargs . raw_id_fields ) : #NEWLINE# #INDENT# kwargs . pop ( 'request' , None ) #NEWLINE# kwargs [ 'widget' ] = VerboseManyToManyRawIdWidget ( db_field . rel ) #NEWLINE# return db_field . formfield ( ** kwargs ) #NEWLINE# #UNINDENT# return super ( EnhancedModelAdmin , self ) . formfield_for_manytomany ( db_field , request , ** kwargs )