#NEWLINE# def __init__( self , rel , queryset , to_field_name , * args , **kwargs ) : #NEWLINE# #INDENT# self . rel = rel #NEWLINE# self . queryset = queryset #NEWLINE# self . to_field_name = to_field_name #NEWLINE# self . max_value = None #NEWLINE# self . min_value = None #NEWLINE# kwargs . pop ( 'widget' , None ) #NEWLINE# super ( AdminFileFormField , self ) . __init__ ( queryset , * args , widget = self . widget ( rel , site ) , ** kwargs )