Closed ghukill closed 5 years ago
Error AttributeError: 'NoneType' object has no attribute 'object' on 8797 from models.py:
AttributeError: 'NoneType' object has no attribute 'object'
8797
models.py
rg_match = RecordGroup.objects\ .filter(name=rg.object.name, organization__name=self._get_django_model_instance(self.import_manifest['pk_hash']['orgs'][rg.object.organization_id], Organization).object.name).order_by('id')
Fixed.
Error
AttributeError: 'NoneType' object has no attribute 'object'
on8797
frommodels.py
: