X-Git-Url: http://git.ithinksw.org/philo.git/blobdiff_plain/e1a2167421a6b3538a405ec037c72777163fb949..49c97b01f25be1831eedf7c615849bcb08142ea5:/models.py?ds=sidebyside diff --git a/models.py b/models.py index 464b3b5..26de321 100644 --- a/models.py +++ b/models.py @@ -290,6 +290,9 @@ class File(Node): response = HttpResponse(wrapper, content_type=self.mimetype) response['Content-Length'] = self.file.size return response + + def __unicode__(self): + return self.file class Template(TreeModel):