[Answered ]-Displaying form content instead of form object name

2👍

✅

beatle list contains references to class attributes, not instance attributes.

How about make it a instance method to return instance attributes (form fields):

def beatle(self):
    return [self.one, self.two, self.three]

UPDATE

To correctly return bound fields:

def beatle(self):
    return [self['one'], self['two'], self['three']]

or

def beatle(self):
    return [self[name] for name in ['one', 'two', 'three']]

Leave a comment