def __getattr__(self, name):
        # Check necessary for unpickling, see #107
        if 'fields' in self.__dict__ and hasattr(self.fields, name):
            return getattr(self.fields, name)
        else:
            return object.__getattribute__(self, name)
This allows us to access self.fields list methods like append or insert, without
dataset/ETHPy150Open maraujop/django-crispy-forms/crispy_forms/layout.py/LayoutObject.__getattr__