biblio error if file missing
This commit is contained in:
parent
8631ed7f64
commit
104c88517b
|
@ -215,7 +215,7 @@ class Document(ItfModel):
|
|||
'id': self.id,
|
||||
'title': self.title,
|
||||
'intro': self.intro,
|
||||
'file': self.file.url
|
||||
'file': self.file.url if self.file else ''
|
||||
}
|
||||
|
||||
def list_dict(self):
|
||||
|
|
Loading…
Reference in New Issue
Block a user