chrisglass/django_polymorphic — Issue #6: Incompatibility with johnny-cache
Author: pannal
Created: 2012-01-26 20:02:28+00:00
State: open

Using django_polymorphic with johnny-cache (https://bitbucket.org/jmoiron/johnny-cache) enabled results in an error:

(In this case the FilerFile object)
Caught AttributeError while rendering: type object 'FilerFile' has no attribute 'base_objects',

/home/cmstest/djangocms/lib/python2.6/site-packages/polymorphic/query.py in _get_real_instances
qs = modelclass.base_objects.filter(pkin=idlist) # use pkin instead ####