diff --git a/pandora/annotation/models.py b/pandora/annotation/models.py index bb93de07..c6302405 100644 --- a/pandora/annotation/models.py +++ b/pandora/annotation/models.py @@ -237,7 +237,7 @@ class Annotation(models.Model): l = self.get_layer() if l['type'] == 'entity': try: - entity = sef.get_entity() + entity = self.get_entity() j['entity'] = entity.json(user=user) j['value'] = entity.html_link() except: