diff --git a/arches/app/models/entity.py b/arches/app/models/entity.py index 3c64743306..a984a01d7e 100644 --- a/arches/app/models/entity.py +++ b/arches/app/models/entity.py @@ -30,7 +30,6 @@ from django.db import connection from django.db import transaction from django.core.files.uploadedfile import InMemoryUploadedFile, TemporaryUploadedFile -from django.core.files import File from arches.app.models.concept import Concept from arches.app.utils.betterJSONSerializer import JSONSerializer, JSONDeserializer from django.core.exceptions import ObjectDoesNotExist @@ -243,7 +242,6 @@ def _save(self): self.value = themodelinstance.geturl() self.label = themodelinstance.getname() - for child_entity in self.child_entities: child = child_entity._save() rule = archesmodels.Rules.objects.get(entitytypedomain = entity.entitytypeid, entitytyperange = child.entitytypeid, propertyid = child_entity.property)