fix import
This commit is contained in:
parent
deda6252f1
commit
1ed91da4e0
1 changed files with 1 additions and 0 deletions
|
@ -184,6 +184,7 @@ class Entity(models.Model):
|
|||
self.matches = matches
|
||||
|
||||
def update_annotations(self):
|
||||
import annotation.models
|
||||
entity_layers = [l['id'] for l in settings.CONFIG['layers'] if l['type'] == 'entity']
|
||||
if entity_layers:
|
||||
with transaction.commit_on_success():
|
||||
|
|
Loading…
Reference in a new issue