(self, to, attribute, blank=False, readonly=False, unique=False, help_text=None)
Note that most of these options are unused as of now...
Note that most of these options are unused as of now...
Note that most of these options are unused as of now ...
def __init__(self, to, attribute, blank=False, readonly=False, unique=False, help_text=None):
        '''
        Note that most of these options are unused as of now...
        '''
        super(ToOneDocumentField, self).__init__(attribute=attribute,
                                                   blank=blank,
                                                   help_text=help_text,
                                                   unique=unique,
                                                   readonly=readonly)
        self.to = to
        self.attribute = AttributeOrCallable(attribute)
def __init__ ( self , to , attribute , blank = False , readonly = False , unique = False , help_text = None ) : super ( ToOneDocumentField , self ) . __init__ ( attribute = attribute , blank = blank , help_text = help_text , unique = unique , readonly = readonly ) self . to = to self . attribute = AttributeOrCallable ( attribute )