All pastes #480517 Raw Edit

Mine

public python v1 · immutable
·published 2007-05-10 09:56 UTC
rendered paste body
>>> import array>>> faq_db = Faq.objects.all().distinct()>>> a = array>>> for f in faq_db:...  a.append(Question.objects.filter(id=f).count())...  a... Traceback (most recent call last):  File "<console>", line 2, in <module>AttributeError: 'module' object has no attribute 'append'