Suor/django-cacheops — Issue #3: 3rd party apps breaking
Author: kevinpostal
Created: 2011-10-11 21:08:30+00:00
State: open

Been using this app called feedjack (http://www.feedjack.org/) to grab feeds

Traceback (most recent call last):
File "feedjack_update.py", line 505, in
main()
File "feedjack_update.py", line 488, in main
for feed in models.Feed.objects.filter(is_active=True):
File "/usr/local/lib/python2.6/dist-packages/django/db/models/query.py", line 107, in _result_iter
self._fill_cache()
File "/usr/local/lib/python2.6/dist-packages/django/db/models/query.py", line 772, in _fill_cache
self._result_cache.append(self._iter.next())
File "/usr/local/lib/python2.6/dist-packages/cacheops/query.py", line 301, in iterator
cache_this = self._cacheprofile is not None and 'fetch' in self._cacheops
AttributeError: 'QuerySet' object has no attribute '_cacheprofile'

I'm not caching any of the feed jack models

CACHEOPS = {
'pad.padportfoliothumb': ('all', 60*60),
'pad.*': ('just_enable', 60*60),
}