#NEWLINE# def __init__( self , instance , * args , **kwargs ) : #NEWLINE# #INDENT# 'Prepare form' #NEWLINE# subscriptions = instance . subscribers . all ( ) #NEWLINE# super ( SubscribeForm , self ) . __init__ ( * args , ** kwargs ) #NEWLINE# self . subscriptions = subscriptions #NEWLINE# self . instance = instance #NEWLINE# self . fields [ 'subscriber' ] . label = '' #NEWLINE# self . fields [ 'subscriber' ] . queryset = User . objects . exclude ( pk__in = subscriptions ) #NEWLINE# self . fields [ 'subscriber' ] . widget . attrs . update ( { #NEWLINE# #INDENT# 'class' : 'autocomplete' , #NEWLINE# 'callback' : reverse ( 'identities_ajax_user_lookup' ) , #NEWLINE# #UNINDENT# } )