git.ithinksw.org
/
philo.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Added Redirect unicode.
[philo.git]
/
models.py
diff --git
a/models.py
b/models.py
index
0063c86
..
4df28d3
100644
(file)
--- a/
models.py
+++ b/
models.py
@@
-283,6
+283,9
@@
class Redirect(Node):
response = HttpResponseRedirect(self.target)
response.status_code = self.status_code
return response
+
+ def __unicode__(self):
+ return self.slug
class File(Node):