X-Git-Url: http://git.ithinksw.org/philo.git/blobdiff_plain/8318347602085438ff700b9c1d6b83f351deccd7..700615d15881697c10a77ca65c84a84a5dd1e4d6:/philo/utils/entities.py diff --git a/philo/utils/entities.py b/philo/utils/entities.py index b911451..05e41fc 100644 --- a/philo/utils/entities.py +++ b/philo/utils/entities.py @@ -117,6 +117,7 @@ class LazyAttributeMapperMixin(object): return self.get_attributes().get(key=key) def _add_to_cache(self, key): + from philo.models.base import Attribute try: attr = self._raw_get_attribute(key) except Attribute.DoesNotExist: