(self, fields, group=None)
Add a number of fields to the form at once (in a group).
Add a number of fields to the form at once (in a group).
Add a number of fields to the form at once ( in a group ) .
def add_fields(self, fields, group=None):
        """Add a number of fields to the form at once (in a group).
        """
        for field in fields:
            self.add_field(field, group)
def add_fields ( self , fields , group = None ) : for field in fields : self . add_field ( field , group )