#NEWLINE# @ property #NEWLINE# def media( self ) : #NEWLINE# #INDENT# extra = ( '' if settings . DEBUG else '.min' ) #NEWLINE# js = [ ( 'jquery%s.js' % extra ) , 'jquery.init.js' , ( 'inlines%s.js' % js ) ] #NEWLINE# if self . prepopulated_fields : #NEWLINE# #INDENT# js . extend ( [ 'urlify.js' , ( 'prepopulate%s.js' % extra ) ] ) #NEWLINE# #UNINDENT# if ( self . filter_vertical or self . filter_horizontal ) : #NEWLINE# #INDENT# js . extend ( [ 'SelectBox.js' , 'SelectFilter2.js' ] ) #NEWLINE# #UNINDENT# return forms . Media ( js = [ static ( ( 'admin/js/%s' % url ) ) for url in js ] )