Revert "Added File unicode."
authorJoseph Spiros <joseph.spiros@ithinksw.com>
Fri, 18 Jun 2010 08:54:26 +0000 (04:54 -0400)
committerJoseph Spiros <joseph.spiros@ithinksw.com>
Fri, 18 Jun 2010 08:54:26 +0000 (04:54 -0400)
This reverts commit 49c97b01f25be1831eedf7c615849bcb08142ea5.

models.py

index 39f166c..1c71889 100644 (file)
--- a/models.py
+++ b/models.py
@@ -291,9 +291,6 @@ 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):