From 104c88517be575ed2c6ed87909367dd3059ae2d6 Mon Sep 17 00:00:00 2001 From: Sanj Date: Fri, 16 Dec 2011 23:44:21 +0530 Subject: [PATCH] biblio error if file missing --- itf/festival/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/itf/festival/models.py b/itf/festival/models.py index 8e9b166..04ee628 100755 --- a/itf/festival/models.py +++ b/itf/festival/models.py @@ -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):