#NEWLINE# def __init__( self , * args , **kwargs ) : #NEWLINE# #INDENT# super ( CategoryAdminForm , self ) . __init__ ( * args , ** kwargs ) #NEWLINE# self . fields [ 'parent' ] . widget = RelatedFieldWidgetWrapper ( self . fields [ 'parent' ] . widget , Category . parent . field . rel , self . admin_site )