<pre>
File "/Users/daonb/src/django-
website/src/django_website/apps/aggregator/migrations/0002_add_tags.py", line
35, in
forwards
print Tag.objects.cloud_for_model(FeedItem) # min_count=1)
File "/Users/daonb/src/django-website/parts/tagging/tagging/models.py", line 258, in
cloud_for_model
return calculate_cloud(tags, steps, distribution)
File "/Users/daonb/src/django-website/parts/tagging/tagging/utils.py", line 252, in
calculate_cloud
counts = [tag.objects.all().count() for tag in tags]
File "/Users/daonb/src/django-website/parts/django/django/db/models/manager.py", line
190, in __get__
raise AttributeError, "Manager isn't accessible via %s instances" % type.__name__
AttributeError: Manager isn't accessible via Tag instances
</pre>
I fixed it by changing line 252 in utils.py to:
<pre>
counts = [tag.count for tag in tags]
</pre>
Original issue reported on code.google.com by bennyd...@gmail.com on 28 Jun 2009 at 5:20
Original issue reported on code.google.com by
bennyd...@gmail.com
on 28 Jun 2009 at 5:20