fix bibliography info_dict issue
This commit is contained in:
parent
41441d1739
commit
f94a103975
|
@ -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):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user