nonetype object has no attribute name en django code example Example: 'NoneType' object has no attribute 'attname' super().__init__(*args, **kwargs)