AttributeError: 'NoneType' object has no attribute 'rwgts' code example Example: 'NoneType' object has no attribute 'attname' super().__init__(*args, **kwargs)