git.ithinksw.org
/
philo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
9fb50c5
)
Revert "Added File unicode."
author
Joseph Spiros
<joseph.spiros@ithinksw.com>
Fri, 18 Jun 2010 08:54:26 +0000
(
04:54
-0400)
committer
Joseph Spiros
<joseph.spiros@ithinksw.com>
Fri, 18 Jun 2010 08:54:26 +0000
(
04:54
-0400)
This reverts commit
49c97b01f25be1831eedf7c615849bcb08142ea5
.
models.py
patch
|
blob
|
history
diff --git
a/models.py
b/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
response = HttpResponse(wrapper, content_type=self.mimetype)
response['Content-Length'] = self.file.size
return response
-
- def __unicode__(self):
- return self.file
class Template(TreeModel):
class Template(TreeModel):