fix bibliography info_dict issue

This commit is contained in:
Sanjay B 2014-04-21 15:37:30 +05:30
parent 41441d1739
commit f94a103975

View File

@ -280,7 +280,7 @@ class DocumentSubject(ItfModel):
return { return {
'id': self.id, 'id': self.id,
'title': self.title, 'title': self.title,
'documents': [d.info_dict() for d in Document.objects.filter(subject=self)] 'documents': [d.info_dict(request) for d in Document.objects.filter(subject=self)]
} }
class Document(ItfModel): class Document(ItfModel):